Skip to content

Commit e7fd653

Browse files
committed
Make the 'consume a block' algorithm make more sense, with the paren/brace/bracket rename.
--HG-- extra : rebase_source : 6db02c65617dfb4e202bb8ce758ea8b23e2c2e3a
1 parent bc40177 commit e7fd653

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

css3-syntax/Overview.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2520,13 +2520,14 @@ <h4 id=consume-a-block><span class=secno>3.5.13. </span> <dfn
25202520
block</i></a>. It must be called with an <span class=temp>{</span>, <span
25212521
class=temp>[</span>, or <span class=temp>(</span> token.
25222522

2523-
<p> The <dfn id=ending-token>ending token</dfn> is the close-* variant of
2524-
the token this algorithm was called with.
2523+
<p> The <dfn id=ending-token>ending token</dfn> is the mirror variant of
2524+
the token this algorithm was called with. (E.g. if it was called with [,
2525+
the <a href="#ending-token"><i>ending token</i></a> is ].)
25252526

25262527
<p> The <dfn id=error-flag>error flag</dfn> is initially false.
25272528

25282529
<p> Create a brace block, bracket block, or paren block as the <dfn
2529-
id=current-block>current block</dfn> whichever corresponds to the token
2530+
id=current-block>current block</dfn>, whichever corresponds to the token
25302531
this algorithm was called with.
25312532

25322533
<p> Repeatedly consume the <a href="#next-input-token"><i>next input

css3-syntax/Overview.src.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2492,13 +2492,14 @@ <h4>
24922492
token.
24932493

24942494
<p>
2495-
The <dfn>ending token</dfn> is the close-* variant of the token this algorithm was called with.
2495+
The <dfn>ending token</dfn> is the mirror variant of the token this algorithm was called with.
2496+
(E.g. if it was called with [, the <i>ending token</i> is ].)
24962497

24972498
<p>
24982499
The <dfn>error flag</dfn> is initially false.
24992500

25002501
<p>
2501-
Create a brace block, bracket block, or paren block as the <dfn>current block</dfn>
2502+
Create a brace block, bracket block, or paren block as the <dfn>current block</dfn>,
25022503
whichever corresponds to the token this algorithm was called with.
25032504

25042505
<p>

0 commit comments

Comments
 (0)