Skip to content

Commit 3c95f8b

Browse files
committed
[css-counter-styles] Switch @counter-style definition to the Syntax-defined rule grammar.
1 parent 0e21bfb commit 3c95f8b

2 files changed

Lines changed: 3 additions & 10 deletions

File tree

css-counter-styles/Overview.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -221,10 +221,7 @@ <h2 id="intro" data-level="1"><span class="secno">1 </span>
221221

222222
</p><p> The general form of an <a data-autolink="maybe" class="css" href="#at-counter-style">@counter-style</a> rule is:
223223

224-
</p><pre>@counter-style <a data-autolink="link" href="#speak-as-counter-style">&lt;counter-style-name&gt;</a> {
225-
[ descriptor: value; ]+
226-
}
227-
</pre>
224+
</p><pre>@counter-style <a data-autolink="link" href="#speak-as-counter-style">&lt;counter-style-name&gt;</a> { &lt;declaration-list&gt; }</pre>
228225
<p> The <a data-autolink="link" href="#speak-as-counter-style">&lt;counter-style-name&gt;</a> must be be a valid identifier
229226
and must not be <a data-autolink="maybe" class="css" href="#decimal">decimal</a> or <span data-autolink="maybe" class="css">none</span>,
230227
or else the rule is invalid.
@@ -2578,7 +2575,7 @@ <h3 class="no-ref" id="testing">
25782575

25792576
<h3 id="normative" class="no-num no-ref">
25802577
Normative References</h3>
2581-
<div data-fill-with="normative-references"><dl><dt id="rfc2119" title="RFC2119">[RFC2119]</dt><dd>S. Bradner. <a href="http://www.ietf.org/rfc/rfc2119.txt">Key words for use in RFCs to Indicate Requirement Levels</a>. URL: <a href="http://www.ietf.org/rfc/rfc2119.txt">http://www.ietf.org/rfc/rfc2119.txt</a></dd><dt id="css3-writing-modes" title="CSS3-WRITING-MODES">[CSS3-WRITING-MODES]</dt><dd>Elika J. Etemad; Koji Ishii. <a href="http://www.w3.org/TR/2012/WD-css3-writing-modes-20121115/">CSS Writing Modes Module Level 3</a>. 15 November 2012. W3C Working Draft. (Work in progress.) URL: <a href="http://www.w3.org/TR/2012/WD-css3-writing-modes-20121115/">http://www.w3.org/TR/2012/WD-css3-writing-modes-20121115/</a></dd></dl></div>
2578+
<div data-fill-with="normative-references"><dl><dt id="css3-writing-modes" title="CSS3-WRITING-MODES">[CSS3-WRITING-MODES]</dt><dd>Elika J. Etemad; Koji Ishii. <a href="http://www.w3.org/TR/2012/WD-css3-writing-modes-20121115/">CSS Writing Modes Module Level 3</a>. 15 November 2012. W3C Working Draft. (Work in progress.) URL: <a href="http://www.w3.org/TR/2012/WD-css3-writing-modes-20121115/">http://www.w3.org/TR/2012/WD-css3-writing-modes-20121115/</a></dd><dt id="rfc2119" title="RFC2119">[RFC2119]</dt><dd>S. Bradner. <a href="http://www.ietf.org/rfc/rfc2119.txt">Key words for use in RFCs to Indicate Requirement Levels</a>. URL: <a href="http://www.ietf.org/rfc/rfc2119.txt">http://www.ietf.org/rfc/rfc2119.txt</a></dd></dl></div>
25822579

25832580
<h3 id="informative" class="no-num no-ref">
25842581
Informative References</h3>

css-counter-styles/Overview.src.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,7 @@ <h2 id='the-counter-style-rule'>
122122

123123
The general form of an ''@counter-style'' rule is:
124124

125-
<pre>
126-
@counter-style <i>&lt;counter-style-name></i> {
127-
[ descriptor: value; ]+
128-
}
129-
</pre>
125+
<pre>@counter-style <i>&lt;counter-style-name></i> { &lt;declaration-list> }</pre>
130126

131127
The <i>&lt;counter-style-name></i> must be be a valid identifier
132128
and must not be ''decimal'' or ''none'',

0 commit comments

Comments
 (0)