- 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
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>’, 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 ‘<code class=css>$foo</code>’ and
- ‘<code class=css>$bar</code>’ would then be defined as the
- value ‘<code class=css>red</code>’.</p>
+ would be no problem - ‘<code class=css>$foo</code>’ would be
+ defined as ‘<code class=css>red</code>’, while ‘<code
+ class=css>$bar</code>’ would be defined as ‘<code
+ class=css>linear-gradient(transparent, red)</code>’.</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 UTC