RE: [css3-images] CSS Gradient Notation

Linear gradient with keywords:  This was discussed exhaustively and ended up in a WG resolution.  That said...

One piece you're missing (or don't take stock in) is that for linear gradients both the angle and the keyword notations as present in the LC indicate the *direction* of the gradient.

> -----Original Message-----
> From: Robert Biggs [mailto:rbiggs@ymail.com]
> Sent: Wednesday, January 18, 2012 6:24 PM
> To: Brian Manthos
> Cc: Tab Atkins Jr.; www-style@w3.org
> Subject: Re: [css3-images] CSS Gradient Notation
> 
> Well, I'm a polyglot myself. So attempts at anglification of technology
> always raise flags for me. That said, Tab Atkins, I understand your
> concerns about clarity of purpose and I now am more certain of the
> utility of the prepositions with the keywords, especially in light of
> the radial gradient examples you provided. However, I disagree about
> the clarity of "to" in use with the positional keywords for linear
> gradients. The way I feel, "to" doesn't necessarily clarify what is
> happening. Take the position of a newbie. When he or she see "to top
> right", I suspect they might be rather confused about where the
> gradient would be coming from. I know I was. In that case, to me it
> seems more logical that the positional keywords should describe where
> the linear gradient begins from. In other words, to create the present
> top right linear gradient, you would write: linear-gradient(from bottom
> left, red, yellow); That way it's very clear where the gradient begins
> and what the start and end colors are. Any visual/graphics person will
> not start to draw a linear gradient from where it ends with the end
> color and finish at where it beings, that's backwards thinking. But the
> current notation forces you to think backwards from how you'd normally
> create a linear gradient.
> 
> 
> On Jan 17, 2012, at 3:10 PM, Brian Manthos wrote:
> 
> > Tab Atkins Jr.:
> >> In Images 4 we plan to add back the ability to control the position
> of
> >> the focus point
> >
> > ... plan to *introduce* the ability ...
> >
> 

Received on Thursday, 19 January 2012 03:03:13 UTC