W3C home > Mailing lists > Public > www-style@w3.org > November 2009

Re: radial-gradient() proposal

From: Dean Jackson <dino@apple.com>
Date: Fri, 06 Nov 2009 13:29:45 +1100
Message-id: <332E9162-2AA2-42ED-8963-7014D0A1E846@apple.com>
To: Aryeh Gregor <Simetrical+w3c@gmail.com>
Cc: Brad Kemper <brad.kemper@gmail.com>, Simon Fraser <smfr@me.com>, "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>


On 06/11/2009, at 10:37, Aryeh Gregor <Simetrical+w3c@gmail.com> wrote:

> On Thu, Nov 5, 2009 at 6:24 PM, Brad Kemper <brad.kemper@gmail.com>  
> wrote:
>> On Nov 5, 2009, at 2:55 PM, Dean Jackson <dino@apple.com> wrote:
>>
>>> Yes, where the X-axis points left and the Y-axis points down, and  
>>> positive
>>> 90deg being the angle taken from the X-axis to the Y-axis (ie.  
>>> clockwise).
>>
>> Well, that's just crazy talk. X-axis points right and Y-axis points  
>> up in
>> the geometry textbooks I've seen. Even for background-position, X  
>> points
>> right, not left.
>
> I'm pretty sure he meant the X-axis points right.  All the mathematics
> I know has the Y-axis pointing up, but it seems like in computer
> graphics, the Y-axis often points down.  It's confusing to me too,
> coming from a mathematical background, but it's better to stick to the
> convention already used in CSS.

Yeah, sorry, I meant X points right.

I don't like the fact that Y points down that much but it is just the  
way computers (mostly) work. It sort-of makes sense in a document  
format because as you add things to the page it grows downwards. The  
start of the page is at the top.

People have been dealing with this for years without any known cases  
of brain explosion. I think keeping consistency is more important.

Dean
Received on Friday, 6 November 2009 02:30:32 GMT

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