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 01:34:30 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>, Simon Fraser <smfr@me.com>
CC: www-style list <www-style@w3.org>
Message-ID: <9710FCC2E88860489239BE0308AC5D17035CCC@TK5EX14MBXC264.redmond.corp.microsoft.com>
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 GMT

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