W3C home > Mailing lists > Public > public-css-commits@w3.org > September 2011

csswg/css-variables Overview.html,1.5,1.6 Overview.src.html,1.5,1.6

From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 29 Sep 2011 00:27:07 +0000
To: public-css-commits@w3.org
Message-Id: <E1R94Sx-0003TM-DP@lionel-hutz.w3.org>
Update of /sources/public/csswg/css-variables
In directory hutz:/tmp/cvs-serv13327

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Fix an example that changed.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css-variables/Overview.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Overview.html	29 Sep 2011 00:20:59 -0000	1.5
+++ Overview.html	29 Sep 2011 00:27:05 -0000	1.6
@@ -336,9 +336,10 @@
     class=css>$foo</code>&rsquo;, respectively, as <a
     href="#invalid-variable"><i>invalid variables</i></a> instead of as the
     values in the declarations. If the last rule were removed, however, there
-    would be no problem: both &lsquo;<code class=css>$foo</code>&rsquo; and
-    &lsquo;<code class=css>$bar</code>&rsquo; would then be defined as the
-    value &lsquo;<code class=css>red</code>&rsquo;.</p>
+    would be no problem - &lsquo;<code class=css>$foo</code>&rsquo; would be
+    defined as &lsquo;<code class=css>red</code>&rsquo;, while &lsquo;<code
+    class=css>$bar</code>&rsquo; would be defined as &lsquo;<code
+    class=css>linear-gradient(transparent, red)</code>&rsquo;.</p>
   </div>
 
   <p>Before they are defined, all variables are <a

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css-variables/Overview.src.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- Overview.src.html	29 Sep 2011 00:20:59 -0000	1.5
+++ Overview.src.html	29 Sep 2011 00:27:05 -0000	1.6
@@ -145,7 +145,7 @@
 @var $bar linear-gradient(transparent, $foo);
 @var $foo $bar;</pre>
 
-		<p>The last two declarations create the cycle, and so they define ''$bar'' and ''$foo'', respectively, as <i>invalid variables</i> instead of as the values in the declarations.  If the last rule were removed, however, there would be no problem: both ''$foo'' and ''$bar'' would then be defined as the value ''red''.</p>
+		<p>The last two declarations create the cycle, and so they define ''$bar'' and ''$foo'', respectively, as <i>invalid variables</i> instead of as the values in the declarations.  If the last rule were removed, however, there would be no problem - ''$foo'' would be defined as ''red'', while ''$bar'' would be defined as ''linear-gradient(transparent, red)''.</p>
 	</div>
 
 	<p>Before they are defined, all variables are <i>invalid variables</i>.</p>
Received on Thursday, 29 September 2011 00:27:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 29 September 2011 00:27:12 GMT