Skip to content

Commit 072d237

Browse files
committed
[css-syntax] Lingering off-by-one-token error in the 'Parse a declaration' algo.
1 parent 358e90c commit 072d237

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

css-syntax/Overview.bs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2205,8 +2205,7 @@ Parse a declaration</h4>
22052205
return a syntax error.
22062206

22072207
<li>
2208-
<a>Consume the next input token</a>,
2209-
then <a>consume a declaration</a>.
2208+
<a>Consume a declaration</a>.
22102209
If anything was returned, return it.
22112210
Otherwise, return a syntax error.
22122211
</ol>

css-syntax/Overview.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3731,8 +3731,7 @@ <h4 class="heading settled heading" data-level=5.3.4 id=parse-a-declaration><spa
37313731
return a syntax error.
37323732

37333733
<li>
3734-
<a data-link-type=dfn href=#consume-the-next-input-token title="consume the next input token">Consume the next input token</a>,
3735-
then <a data-link-type=dfn href=#consume-a-declaration0 title="consume a declaration">consume a declaration</a>.
3734+
<a data-link-type=dfn href=#consume-a-declaration0 title="consume a declaration">Consume a declaration</a>.
37363735
If anything was returned, return it.
37373736
Otherwise, return a syntax error.
37383737
</ol>

0 commit comments

Comments
 (0)