svg2: Correct text styling example with class

details:   https://svgwg.org/hg/svg2/rev/c3edf53ad65d
branches:  
changeset: 524:c3edf53ad65d
user:      Dirk Schulze <dschulze@adobe.com>
date:      Thu Jul 04 07:39:28 2013 -0700
description:
Correct text styling example with class

diffstat:

 master/styling.html |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff --git a/master/styling.html b/master/styling.html
--- a/master/styling.html
+++ b/master/styling.html
@@ -912,19 +912,19 @@ English and French versions.</p>
 
 <p>In an SVG user agent that supports <a
 href="styling.html">CSS styling</a>, 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:</p>
 
 <pre>
-text.info    { color: green }
-text.warning { color: yellow }
-text.error   { color: red }
+text.info    { fill: green }
+text.warning { fill: yellow }
+text.error   { fill: red }
 </pre>
 
 <h2 id='StyleAttribute'>The <span class="attr-name">'style'</span> attribute</h2>
 
 <p>The <a>'style attribute'</a> attribute allows
 per-element style rules to be specified directly on a given
 element. When CSS styling is used, CSS inline style is
 specified by including semicolon-separated property

Received on Thursday, 4 July 2013 14:41:50 UTC