RE: [css3-images] Summary of recent gradient issues

> From: Alan Gresley [mailto:alan@css-class.com]
> On 15/06/2011 11:34 AM, Brian Manthos wrote:
> > Or perhaps...
> >
> > "Why do these render the same?
> >  (a) linear-gradient(bottom, red, blue);
> >  (b) linear-gradient(0deg, red, blue);
> > "
> 
> 
> The shouldn't render the same.


With the (1.107) version of the editor's draft (with the angle coordinate system change but without the keyword change), yes they do.

Which is part of the reason I raised the issue in the first place.

http://dev.w3.org/cvsweb/~checkout~/csswg/css3-images/Overview.html?rev=1.107;content-type=text%2Fhtml

section 5.1.1

# If a ‘top’, ‘right’, ‘bottom’, or ‘left’ is given,
# the used value of the gradient is 180deg, 270deg, 0deg,
# or 90deg, respectively.


I don't know how to express it more clearly than direct normative text from the spec.

Received on Wednesday, 15 June 2011 05:18:47 UTC