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

csswg/css-variables Overview.html,1.25,1.26 Overview.src.html,1.24,1.25

From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
Date: Thu, 10 Nov 2011 22:29:20 +0000
To: public-css-commits@w3.org
Message-Id: <E1ROd7Y-0006MS-Ob@lionel-hutz.w3.org>
Update of /sources/public/csswg/css-variables
In directory hutz:/tmp/cvs-serv24438

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Editorial tweak of an example.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css-variables/Overview.html,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- Overview.html	10 Nov 2011 22:27:54 -0000	1.25
+++ Overview.html	10 Nov 2011 22:29:18 -0000	1.26
@@ -337,8 +337,8 @@
    <p>The preceding rule is equivalent to writing &lsquo;<code
     class=css>background-color: #06c;</code>&rsquo;, except that the variable
     name makes the origin of the color clearer, and if &lsquo;<code
-    class=css>data(header-color)</code>&rsquo; is used elsewhere in the
-    stylesheet, all of the uses can be updated at once by changing the
+    class=css>data(header-color)</code>&rsquo; is used on other elements in
+    the document, all of the uses can be updated at once by changing the
     &lsquo;<code class=property>data-header-color</code>&rsquo; property on
     the root element.</p>
   </div>

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css-variables/Overview.src.html,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- Overview.src.html	10 Nov 2011 22:27:54 -0000	1.24
+++ Overview.src.html	10 Nov 2011 22:29:18 -0000	1.25
@@ -141,7 +141,7 @@
 
 		<pre>h1 { background-color: data(header-color); }</pre>
 	
-		<p>The preceding rule is equivalent to writing ''background-color: #06c;'', except that the variable name makes the origin of the color clearer, and if ''data(header-color)'' is used elsewhere in the stylesheet, all of the uses can be updated at once by changing the 'data-header-color' property on the root element.</p>
+		<p>The preceding rule is equivalent to writing ''background-color: #06c;'', except that the variable name makes the origin of the color clearer, and if ''data(header-color)'' is used on other elements in the document, all of the uses can be updated at once by changing the 'data-header-color' property on the root element.</p>
 	</div>
 
 	<p>Data properties are ordinary properties, so they can be declared on any element, are resolved with the normal inheritance and cascade rules, can be made conditional with ''@media'' and other conditional rules, can be used in HTML's <code>style</code> attribute, can be read or set using the CSSOM, etc..</p>
Received on Thursday, 10 November 2011 22:29:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 10 November 2011 22:29:23 GMT