Skip to content

Commit 64645b3

Browse files
committed
Correctly ignore whitespace in the rule mode, so we don't prematurely generate style rules.
1 parent f115240 commit 64645b3

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

css3-syntax/Overview.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2257,6 +2257,10 @@ <h4 id=rule-mode><span class=secno>3.6.4. </span> <dfn id=rule-mode0>Rule
22572257
<p>Consume the <a href="#next-input-token"><i>next input token</i></a>.
22582258

22592259
<dl>
2260+
<dt>whitespace token
2261+
2262+
<dd> Do nothing, and remain in this state.
2263+
22602264
<dt>} token
22612265

22622266
<dd> <a href="#pop-the-current-rule0"><i>Pop the current rule</i></a>. <a

css3-syntax/Overview.src.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2274,7 +2274,12 @@ <h4>
22742274

22752275
<p>Consume the <i>next input token</i>.
22762276

2277-
<dl>
2277+
<dl>
2278+
<dt>whitespace token
2279+
<dd>
2280+
Do nothing,
2281+
and remain in this state.
2282+
22782283
<dt>} token
22792284
<dd>
22802285
<i>Pop the current rule</i>.

0 commit comments

Comments
 (0)