Re: class attribute text suggests that text colours can be modified with the CSS color property

On Jul 4, 2013, at 3:55 AM, Robert Longson <longsonr@gmail.com> wrote:

> http://www.w3.org/TR/SVG/styling.html#ClassAttribute
> 
> contains this...
> 
> In an SVG user agent that supports CSS styling, the following CSS style rules would tell visual user agents to display informational messages in green, warning messages in yellow, and error messages in red:
> 
> text.info
>     { color: green }
> text.warning { color: yellow }
> text.error   { color: red }
> 
> 
> But text in SVG is coloured using the fill (or stroke) properties. The color CSS keyword should be replaced by fill here.

Thanks Robert. I edited the SVG2 spec. Maybe it should go into SVG 1.1 as well.

Greetings,
Dirk

> 
> Robert.

Received on Thursday, 4 July 2013 17:16:00 UTC