Skip to content

Commit 58ea996

Browse files
committed
Added a restriction that @counter-style can't use any of the list-style-position values as a name.
1 parent 4291d26 commit 58ea996

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

css3-lists/Overview.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2196,8 +2196,12 @@ <h3 id=counter-style-syntax><span class=secno>10.1. </span> @counter-style
21962196
decl blocks, like @font-face.
21972197

21982198
<p>The &lt;counter-style-name> must be be a valid identifier, and must not
2199-
be &lsquo;<code class=css>decimal</code>&rsquo;; violating these rules is
2200-
a syntax error and must cause the @counter-style block to be ignored.
2199+
be &lsquo;<code class=css>decimal</code>&rsquo;, &lsquo;<a
2200+
href="#inside"><code class=css>inside</code></a>&rsquo;, &lsquo;<a
2201+
href="#outside"><code class=css>outside</code></a>&rsquo;, or &lsquo;<a
2202+
href="#hanging"><code class=css>hanging</code></a>&rsquo;; violating these
2203+
rules is a syntax error and must cause the @counter-style block to be
2204+
ignored.
22012205

22022206
<p>Omitting the &lsquo;<code class=property>type</code>&rsquo; property in
22032207
a @counter-style block is a syntax error and must cause the @counter-style

css3-lists/Overview.src.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1522,8 +1522,8 @@ <h3 id='counter-style-syntax'>
15221522
blocks, like @font-face.</p>
15231523

15241524
<p>The &lt;counter-style-name> must be be a valid identifier, and must not be
1525-
''decimal''; violating these rules is a syntax error and must cause the @counter-style
1526-
block to be ignored.</p>
1525+
''decimal'', ''inside'', ''outside'', or ''hanging''; violating these rules
1526+
is a syntax error and must cause the @counter-style block to be ignored.</p>
15271527

15281528
<p>Omitting the 'type' property in a @counter-style block is a syntax error
15291529
and must cause the @counter-style block to be ignored. A @counter-style block

0 commit comments

Comments
 (0)