- From: Robert Longson <longsonr@gmail.com>
- Date: Thu, 4 Jul 2013 11:55:25 +0100
- To: www-svg@w3.org
Received on Thursday, 4 July 2013 10:55:52 UTC
http://www.w3.org/TR/SVG/styling.html#ClassAttribute
contains this...
In an SVG user agent that supports CSS
styling<http://www.w3.org/TR/SVG/styling.html>,
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.
Robert.
Received on Thursday, 4 July 2013 10:55:52 UTC