- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 11 Oct 2011 00:31:01 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-values In directory hutz:/tmp/cvs-serv10904 Modified Files: Overview.html Overview.src.html Log Message: Editorial tweaking to cycle() Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-values/Overview.html,v retrieving revision 1.116 retrieving revision 1.117 diff -u -d -r1.116 -r1.117 --- Overview.html 11 Oct 2011 00:28:52 -0000 1.116 +++ Overview.html 11 Oct 2011 00:30:59 -0000 1.117 @@ -1484,17 +1484,21 @@ class=css>inherit</code>’ keyword, which is useful even for non-inherited properties. - <pre class=example> + <div class=example> + <pre> /* make em elements italic, but make them normal if they're inside something that's italic */ em { font-style: cycle(italic, normal); }</pre> + </div> - <pre class=example> + <div class=example> + <pre> /* cycle between markers for nested lists, so that the top level has disk markers, but nested lists use circle, square, box, and then (for the 5th list deep) repeat */ ul { list-style-type: disk; } li > ul { list-style-type: cycle(disk, circle, square, box); }</pre> + </div> <p>The ‘<code class=css>cycle()</code>’ notation is not allowed to be nested; nor may it contain ‘<code @@ -1502,8 +1506,7 @@ class=css>calc()</code></a>’, ‘<a href="#min"><code class=css>min()</code></a>’, or ‘<a href="#max"><code class=css>max()</code></a>’ notations. Declarations containing such - constructs are invalid and must be <a - href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>. + constructs are invalid. <h3 id=attr><span class=secno>9.3. </span> Attribute References: ‘<code class=css>attr()</code>’</h3> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-values/Overview.src.html,v retrieving revision 1.119 retrieving revision 1.120 diff -u -d -r1.119 -r1.120 --- Overview.src.html 11 Oct 2011 00:28:52 -0000 1.119 +++ Overview.src.html 11 Oct 2011 00:30:59 -0000 1.120 @@ -1026,22 +1026,25 @@ is similar to the ''inherit'' keyword, which is useful even for non-inherited properties.</p> - <pre class="example"> + <div class='example'> + <pre> /* make em elements italic, but make them normal if they're inside something that's italic */ em { font-style: cycle(italic, normal); }</pre> + </div> - <pre class="example"> + <div class='example'> + <pre> /* cycle between markers for nested lists, so that the top level has disk markers, but nested lists use circle, square, box, and then (for the 5th list deep) repeat */ ul { list-style-type: disk; } li > ul { list-style-type: cycle(disk, circle, square, box); }</pre> + </div> <p>The ''cycle()'' notation is not allowed to be nested; nor may it contain ''attr()'', ''calc()'', ''min()'', or ''max()'' notations. - Declarations containing such constructs are invalid and must be - <a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>. + Declarations containing such constructs are invalid.</p> <h3 id="attr"> Attribute References: ''attr()''</h3>
Received on Tuesday, 11 October 2011 00:31:07 UTC