Re: CSS Gradients

On Friday, May 14, 2004, 7:25:07 AM, Ernest wrote:


EC> Secondly, there are source languages such as SVG that adding
EC> gradients to <color> would complicate life for while giving them
EC> no new functionality. SVG makes the not unreasonable assumption
EC> that the value of a <color> will not vary depending upon the position.
EC> By making them a separate property, source languages such as
EC> SVG can ignore CSS gradients, while supporting any future
EC> monochromatic additions to <color>

Yes. SVG uses the color type to mean a single color and the paint type
to describe more complex filltypes (including gradients, patttern
fills, etc).

Furthermore, the definition of a gradient uses the color type for the
color of the gradient stops.

So yes, absolutely.


-- 
 Chris Lilley                    mailto:chris@w3.org
 Chair, W3C SVG Working Group
 Member, W3C Technical Architecture Group

Received on Friday, 14 May 2004 10:35:06 UTC