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

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 UTC