- From: Tab Atkins Jr.. via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 12 Dec 2011 22:17:11 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-values In directory hutz:/tmp/cvs-serv27432 Modified Files: Overview.html Overview.src.html Log Message: Remove commented-out section on counter(), as that's defined in css3-lists now. Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-values/Overview.html,v retrieving revision 1.137 retrieving revision 1.138 diff -u -d -r1.137 -r1.138 --- Overview.html 12 Dec 2011 22:16:17 -0000 1.137 +++ Overview.html 12 Dec 2011 22:17:09 -0000 1.138 @@ -1669,40 +1669,6 @@ href="#attr-value"><code class=css>attr()</code></a>’ in this direction.</p> <!-- -<h4>The 'counter' function</h4> - -<p><dfn title="<counter>, definition of">Counters</dfn> are denoted by -identifiers (see the <span class="property">'counter-increment'</span> and -<span class="property">'counter-reset'</span> properties). To refer to the -value of a counter, the notation <dfn>'counter(<identifier>)'</dfn> or -<dfn>'counter(<identifier>, <list-style-type>)'</dfn> is used. -The default style is 'decimal'.</p> - -<p>To refer to a sequence of nested counters of the same name, the notation -is 'counters(<identifier>, <string>)' or -'counters(<identifier>, <string>, <list-style-type>)'. See -"Nested counters and scope" [add ref] in the chapter on generated content -[add ref].</p> - -<p>In CSS2.1, the values of counters can only be referred to from the <span -class="property">'content'</span> property. Note that 'none' is a possible -<list-style-type>: 'counter(x, none)' yields an empty string.</p> - -<div class="example"> -<p style="display:none">Example(s):</p> - -<p>Here is a style sheet that numbers paragraphs (P) for each chapter (H1). -The paragraphs are numbered with roman numerals, followed by a period and a -space:</p> - -<pre> -p { counter-increment: par-num } -h1 { counter-reset: par-num } -p:before { content: counter(par-num, upper-roman) ". " } -</pre> -</div> ---> - <!-- <h3>Special cases</h3> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-values/Overview.src.html,v retrieving revision 1.140 retrieving revision 1.141 diff -u -d -r1.140 -r1.141 --- Overview.src.html 12 Dec 2011 22:16:17 -0000 1.140 +++ Overview.src.html 12 Dec 2011 22:17:09 -0000 1.141 @@ -1195,41 +1195,6 @@ <!-- -<h4>The 'counter' function</h4> - -<p><dfn title="<counter>, definition of">Counters</dfn> are denoted by -identifiers (see the <span class="property">'counter-increment'</span> and -<span class="property">'counter-reset'</span> properties). To refer to the -value of a counter, the notation <dfn>'counter(<identifier>)'</dfn> or -<dfn>'counter(<identifier>, <list-style-type>)'</dfn> is used. -The default style is 'decimal'.</p> - -<p>To refer to a sequence of nested counters of the same name, the notation -is 'counters(<identifier>, <string>)' or -'counters(<identifier>, <string>, <list-style-type>)'. See -"Nested counters and scope" [add ref] in the chapter on generated content -[add ref].</p> - -<p>In CSS2.1, the values of counters can only be referred to from the <span -class="property">'content'</span> property. Note that 'none' is a possible -<list-style-type>: 'counter(x, none)' yields an empty string.</p> - -<div class="example"> -<p style="display:none">Example(s):</p> - -<p>Here is a style sheet that numbers paragraphs (P) for each chapter (H1). -The paragraphs are numbered with roman numerals, followed by a period and a -space:</p> - -<pre> -p { counter-increment: par-num } -h1 { counter-reset: par-num } -p:before { content: counter(par-num, upper-roman) ". " } -</pre> -</div> ---> - -<!-- <h3>Special cases</h3>
Received on Monday, 12 December 2011 22:19:13 UTC