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

Re: Gradient syntax proposal

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Fri, 14 Aug 2009 13:33:25 +0200
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style@w3.org
Message-ID: <op.uyng1zxdru61ud@oyvinds-desktop>
On Fri, 14 Aug 2009 01:35:56 +0200, Tab Atkins Jr. <jackalmage@gmail.com>  

> Just linear gradients for now:
> http://www.xanthir.com/document/document.php?id=d65df9d10442ef96c2dfe5e1d7bbebf7aa42f2bcf24e68fc3777c4b484fa8a4ce55fed2189cac20ccad8686127f4c08917c4ca8b7614e9f89c2a950ec083a9c6

Maybe the coordinate system for angles was intentionally chosen this way  
because of consistency with Photoshop or something (I'm not familiar with  
it), but I thought I'd point out that it differs from CSS transforms  
(where positive angles are clockwise).

(The proposal doesn't specify a coordinate system, so I inferred it from  
what would make most sense given the pairings of angle intervals and  
corner starting points.)

Øyvind Stenhaug
Core Norway, Opera Software ASA
Received on Friday, 14 August 2009 11:33:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:28 UTC