Skip to content

Commit 109fa16

Browse files
committed
[css3-syntax] Have the 'consume a rule' function return a *syntax* error, not a parse error, to avoid confusion.
1 parent 4269195 commit 109fa16

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

css3-syntax/Overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3815,7 +3815,7 @@ <h3 id=parse-a-rule><span class=secno>6.2. </span> <dfn
38153815
<li> Invoke the <a href="#parser-state-machine">parser. </a>
38163816

38173817
<li> If the returned <a href="#stylesheet"><i>stylesheet</i></a> contains
3818-
more than one rule in its value, return a parse error.
3818+
more than one rule in its value, return a syntax error.
38193819
<p> Otherwise, return the first rule in the value of the <a
38203820
href="#stylesheet"><i>stylesheet</i></a> it returns.
38213821
</ol>

css3-syntax/Overview.src.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3336,7 +3336,7 @@ <h3>
33363336

33373337
<li>
33383338
If the returned <i>stylesheet</i> contains more than one rule in its value,
3339-
return a parse error.
3339+
return a syntax error.
33403340

33413341
<p>
33423342
Otherwise,

0 commit comments

Comments
 (0)