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

Re: [css3-images] Changing the angles in gradients

From: Simon Fraser <smfr@me.com>
Date: Tue, 17 May 2011 16:43:02 -0700
Cc: www-style list <www-style@w3.org>, Robert O'Callahan <rocallahan@gmail.com>
Message-id: <5B2AC35A-BDBA-460C-B051-7EA600B980D6@me.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
On May 17, 2011, at 12:57 PM, Tab Atkins Jr. wrote:

> So, we have three choices:
> 
> A) Keep the angles as they are, with 0deg=East and 90deg=North
> B) Switch to screen-coord polar, with 0deg=East and 90deg=South
> C) Switch to bearing angles, with 0deg=North and 90deg=East
> 
> Except for 'azimuth', current properties are consistent with either B
> or C, as they just use the angles for rotation, not direction.  I
> slightly lean towards B now, but I'd be okay with C too.
> 
> Implementors, what do you think?  Are you okay with changing the angle
> definition?  If so, do you prefer B or C?

As an implementor I'm happy to change WebKit to follow vox populi. I think that
the new prefixed gradient syntax is used little enough so far that I'd probably just
change the -webkit behavior.

Had I to vote, I would go for B or C.

Simon
Received on Tuesday, 17 May 2011 23:43:36 GMT

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