Skip to content

Commit 327322a

Browse files
committed
Accidentally dropped the text about initial/invalid/none not being valid counter names in the counter-* properties.
1 parent 5c43292 commit 327322a

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

css3-lists/Overview.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@
2525

2626
<h1>CSS Lists and Counters Module Level 3</h1>
2727

28-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 9 January 2012</h2>
28+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 17 January
29+
2012</h2>
2930

3031
<dl>
3132
<dt>This version:
3233

33-
<dd><!--<a href="http://www.w3.org/TR/2012/WD-css3-lists-20120109">http://www.w3.org/TR/2012/WD-css3-lists-20120109</a></dd>-->
34+
<dd><!--<a href="http://www.w3.org/TR/2012/WD-css3-lists-20120117">http://www.w3.org/TR/2012/WD-css3-lists-20120117</a></dd>-->
3435
<a
3536
href="http://dev.w3.org/csswg/css3-lists/">http://dev.w3.org/csswg/css3-lists/</a>
3637

@@ -1550,6 +1551,14 @@ <h2 id=counter><span class=secno>8. </span> Automatic Counters and
15501551
counter is set to on the element it's set on. The default is &lsquo;<code
15511552
class=css>0</code>&rsquo;.
15521553

1554+
<p>On all of these properties, a value of &lsquo;<a href="#none"><code
1555+
class=property>none</code></a>&rsquo; means that no counters are
1556+
incremented, set, or reset, respectively. Counter names must not be
1557+
&lsquo;<code class=property>initial</code>&rsquo;, &lsquo;<code
1558+
class=property>inherit</code>&rsquo;, or &lsquo;<a href="#none"><code
1559+
class=property>none</code></a>&rsquo;; using one of these keywords as a
1560+
counter name makes the property invalid.
1561+
15531562
<p>&lsquo;<a href="#counter-reset"><code
15541563
class=property>counter-reset</code></a>&rsquo; always establishes a new <a
15551564
href="#counter-scope"><i>counter scope</i></a> on the element it's set on.

css3-lists/Overview.src.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,8 @@ <h2 id='counter'>
898898

899899
<p>The 'counter-set' and 'counter-reset' properties also contains a list of one or more names of counters, each one optionally followed by an integer. The integer gives the value that the counter is set to on the element it's set on. The default is ''0''.</p>
900900

901+
<p>On all of these properties, a value of 'none' means that no counters are incremented, set, or reset, respectively. Counter names must not be 'initial', 'inherit', or 'none'; using one of these keywords as a counter name makes the property invalid.</p>
902+
901903
<p>'counter-reset' always establishes a new <i>counter scope</i> on the element it's set on. 'counter-increment' and 'counter-set' sometimes establish a new <i>counter scope</i> on the element they're set on.</p>
902904

903905
<div class="example">

0 commit comments

Comments
 (0)