W3C home > Mailing lists > Public > www-style@w3.org > June 2011

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

From: Brian Manthos <brianman@microsoft.com>
Date: Wed, 15 Jun 2011 05:18:17 +0000
To: Alan Gresley <alan@css-class.com>
CC: Tab Atkins Jr. <jackalmage@gmail.com>, Simon Fraser <smfr@me.com>, www-style list <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D17035F8C@TK5EX14MBXC264.redmond.corp.microsoft.com>
> 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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:41 GMT