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

Or perhaps...

"Why do these render the same?
 (a) linear-gradient(bottom, red, blue);
 (b) linear-gradient(0deg, red, blue);
"


> -----Original Message-----
> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On
> Behalf Of Tab Atkins Jr.
> Sent: Tuesday, June 14, 2011 5:22 PM
> To: Simon Fraser
> Cc: www-style list
> Subject: Re: [css3-images] Summary of recent gradient issues
> 
> On Tue, Jun 14, 2011 at 4:42 PM, Simon Fraser <smfr@me.com> wrote:
> > In my quick Twitter straw poll, everyone, without exception, said that
> > linear-gradient(left, black, white) would have black on the left, so
> > 'left' denotes the start point. There was zero confusion on this
> > issue, which provides support for #5 and demotes #4.
> 
> What if you then asked "Given that 270deg points to the left, do you expect
> linear-gradient(270deg,black,white) to be the same or opposite linear-
> gradient(left,black,white)?"?  ^_^
> 
> ~TJ
> 

Received on Wednesday, 15 June 2011 01:34:59 UTC