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

Re: [css3-images] linear-gradient keywords and angles are opposite

From: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 9 Jun 2011 21:46:49 -0700
Message-Id: <32F78E1D-7B4A-4F96-B392-2A58D3F6F1D8@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
To: Brian Manthos <brianman@microsoft.com>
On Jun 9, 2011, at 9:33 PM, Brian Manthos <brianman@microsoft.com> wrote:

> Brad Kemper:
>> On Jun 9, 2011, at 8:47 PM, fantasai <fantasai.lists@inkedblade.net>
>> wrote:
>>> I disagree. If I just wrote
>>> linear-gradient(navy, blue, aqua)
>>> I think it would make more sense for the first value to be the top
>> and the
>>> last to be the bottom, just like text content starts at the top and
>> ends
>>> at the bottom.
>> 
>> Hmm. When I read your "navy, blue, aqua" text, it starts on the left
>> and ends on the right.
> 
> So then make "right(wards)" the default direction then...

I don't see why we need a default direction. Just make direction (or starting side/corner) required. If we are trying to reduce ambiguity and use words that are more intuitive (ie 'rightward' instead of 'left'), then let's not just leave out critical information that would cause someone to need to memorize which of the three possible decent choices was chosen to be the default. 
Received on Friday, 10 June 2011 04:47:23 GMT

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