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

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

From: Florian Rivoal <florianr@opera.com>
Date: Fri, 10 Jun 2011 18:35:16 +0900
To: www-style@w3.org
Message-ID: <op.vwusw2m34p7avi@localhost.localdomain>
On Fri, 10 Jun 2011 14:27:06 +0900, Brad Kemper <brad.kemper@gmail.com>  
wrote:

> As long as we kept it to corners and sides, and not two sets of two  
> lengths? My only problem with it then is how long it is. "bottom left to  
> top right" is pretty wordy for something that can already include a LOT  
> of text (if there are a lot of color stops with positions, for instance,  
> inside a property like 'background' that can have multiple layers.

For diagonals, I was thinking "bottom to right" might cut it.

> That is the most positive review of the idea I have heard yet! :)
>
> Other pluses: It also reduces the number of keywords needed to just one,  
> allows you to create some gradients that you wouldn't otherwise be able  
> to (but with hardly any added complexity), and makes every author word  
> their linear gradients in a more similar fashion (which makes learning  
> the syntax by looking at examples easier).

Sorry, I am new here. Has this been discussed before? What were the  
objections?

  - Florian
Received on Friday, 10 June 2011 09:35:50 GMT

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