Skip to content

Commit 3ee2546

Browse files
committed
Remove commented-out section on counter(), as that's defined in css3-lists now.
1 parent 35625f1 commit 3ee2546

2 files changed

Lines changed: 0 additions & 69 deletions

File tree

css3-values/Overview.html

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1669,40 +1669,6 @@ <h3 id=attr><span class=secno>8.3. </span> Attribute References: &lsquo;<a
16691669
href="#attr-value"><code class=css>attr()</code></a>&rsquo; in this
16701670
direction.</p>
16711671
<!--
1672-
<h4>The 'counter' function</h4>
1673-
1674-
<p><dfn title="&lt;counter&gt;, definition of">Counters</dfn> are denoted by
1675-
identifiers (see the <span class="property">'counter-increment'</span> and
1676-
<span class="property">'counter-reset'</span> properties). To refer to the
1677-
value of a counter, the notation <dfn>'counter(&lt;identifier&gt;)'</dfn> or
1678-
<dfn>'counter(&lt;identifier&gt;, &lt;list-style-type&gt;)'</dfn> is used.
1679-
The default style is 'decimal'.</p>
1680-
1681-
<p>To refer to a sequence of nested counters of the same name, the notation
1682-
is 'counters(&lt;identifier&gt;, &lt;string&gt;)' or
1683-
'counters(&lt;identifier&gt;, &lt;string&gt;, &lt;list-style-type&gt;)'. See
1684-
"Nested counters and scope" [add ref] in the chapter on generated content
1685-
[add ref].</p>
1686-
1687-
<p>In CSS2.1, the values of counters can only be referred to from the <span
1688-
class="property">'content'</span> property. Note that 'none' is a possible
1689-
&lt;list-style-type&gt;: 'counter(x, none)' yields an empty string.</p>
1690-
1691-
<div class="example">
1692-
<p style="display:none">Example(s):</p>
1693-
1694-
<p>Here is a style sheet that numbers paragraphs (P) for each chapter (H1).
1695-
The paragraphs are numbered with roman numerals, followed by a period and a
1696-
space:</p>
1697-
1698-
<pre>
1699-
p { counter-increment: par-num }
1700-
h1 { counter-reset: par-num }
1701-
p:before { content: counter(par-num, upper-roman) ". " }
1702-
</pre>
1703-
</div>
1704-
-->
1705-
<!--
17061672
17071673
<h3>Special cases</h3>
17081674

css3-values/Overview.src.html

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,41 +1194,6 @@ <h3 id="attr">
11941194
direction.</p>
11951195

11961196

1197-
<!--
1198-
<h4>The 'counter' function</h4>
1199-
1200-
<p><dfn title="&lt;counter&gt;, definition of">Counters</dfn> are denoted by
1201-
identifiers (see the <span class="property">'counter-increment'</span> and
1202-
<span class="property">'counter-reset'</span> properties). To refer to the
1203-
value of a counter, the notation <dfn>'counter(&lt;identifier&gt;)'</dfn> or
1204-
<dfn>'counter(&lt;identifier&gt;, &lt;list-style-type&gt;)'</dfn> is used.
1205-
The default style is 'decimal'.</p>
1206-
1207-
<p>To refer to a sequence of nested counters of the same name, the notation
1208-
is 'counters(&lt;identifier&gt;, &lt;string&gt;)' or
1209-
'counters(&lt;identifier&gt;, &lt;string&gt;, &lt;list-style-type&gt;)'. See
1210-
"Nested counters and scope" [add ref] in the chapter on generated content
1211-
[add ref].</p>
1212-
1213-
<p>In CSS2.1, the values of counters can only be referred to from the <span
1214-
class="property">'content'</span> property. Note that 'none' is a possible
1215-
&lt;list-style-type&gt;: 'counter(x, none)' yields an empty string.</p>
1216-
1217-
<div class="example">
1218-
<p style="display:none">Example(s):</p>
1219-
1220-
<p>Here is a style sheet that numbers paragraphs (P) for each chapter (H1).
1221-
The paragraphs are numbered with roman numerals, followed by a period and a
1222-
space:</p>
1223-
1224-
<pre>
1225-
p { counter-increment: par-num }
1226-
h1 { counter-reset: par-num }
1227-
p:before { content: counter(par-num, upper-roman) ". " }
1228-
</pre>
1229-
</div>
1230-
-->
1231-
12321197
<!--
12331198
12341199
<h3>Special cases</h3>

0 commit comments

Comments
 (0)