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

csswg/css3-values Overview.html,1.115,1.116 Overview.src.html,1.118,1.119

From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 11 Oct 2011 00:28:54 +0000
To: public-css-commits@w3.org
Message-Id: <E1RDQDG-0002js-7l@lionel-hutz.w3.org>
Update of /sources/public/csswg/css3-values
In directory hutz:/tmp/cvs-serv10507

Modified Files:
	Overview.html Overview.src.html 
Log Message:
Add note to cycle() about it being useful for non-inherited properties.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.html,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -d -r1.115 -r1.116
--- Overview.html	11 Oct 2011 00:13:21 -0000	1.115
+++ Overview.html	11 Oct 2011 00:28:52 -0000	1.116
@@ -1478,6 +1478,12 @@
    are no <var>C<sub>n</sub></var> that equal <var>I</var>, the computed
    value of the first value is returned instead.
 
+  <p class=note>Note that &lsquo;<code class=css>cycle()</code>&rsquo;
+   explicitly looks at the computed value of the parent, so it is useful even
+   for non-inherited properties. This is similar to the &lsquo;<code
+   class=css>inherit</code>&rsquo; keyword, which is useful even for
+   non-inherited properties.
+
   <pre class=example>
   /* make em elements italic, but make them normal if they're inside
      something that's italic */

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-values/Overview.src.html,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -d -r1.118 -r1.119
--- Overview.src.html	11 Oct 2011 00:13:21 -0000	1.118
+++ Overview.src.html	11 Oct 2011 00:28:52 -0000	1.119
@@ -1019,7 +1019,12 @@
 	is <var>C<sub>n+1</sub></var>.  However, if this <var>C<sub>n</sub></var>
 	is the last value, or if there are no <var>C<sub>n</sub></var> that
 	equal <var>I</var>, the computed value of the first value is returned
-	instead.
+	instead.</p>
+
+	<p class='note'>Note that ''cycle()'' explicitly looks at the computed value
+	of the parent, so it is useful even for non-inherited properties.  This
+	is similar to the ''inherit'' keyword, which is useful even for non-inherited
+	properties.</p>
 
 	<pre class="example">
   /* make em elements italic, but make them normal if they're inside
Received on Tuesday, 11 October 2011 00:28:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 October 2011 00:28:59 GMT