Skip to content

Commit 2a57edc

Browse files
committed
Tighten up the text about the values of a simple block.
--HG-- extra : rebase_source : 5fe120537561bce886722ab3475dca16ab82041d
1 parent 78deed1 commit 2a57edc

2 files changed

Lines changed: 11 additions & 12 deletions

File tree

css3-syntax/Overview.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2090,8 +2090,8 @@ <h3 id=tree-construction><span class=secno>3.6. </span> Tree Construction</h3>
20902090

20912091
<dt>simple block
20922092

2093-
<dd> A simple block is associated with one pair of the block-creating
2094-
tokens ("[]", "()", or "{}"), and contains a list of primitives.
2093+
<dd> A simple block is has an associated token (either a [, (, or { token)
2094+
and value which is a list of primitives.
20952095

20962096
<dt>rule block
20972097

@@ -2103,7 +2103,7 @@ <h3 id=tree-construction><span class=secno>3.6. </span> Tree Construction</h3>
21032103

21042104
<dt>declaration
21052105

2106-
<dd> A declaration has a name and a value, which is a list of primitives.
2106+
<dd> A declaration has a name and a value which is a list of primitives.
21072107
</dl>
21082108

21092109
<div class=issue>
@@ -2629,9 +2629,9 @@ <h4 id=consume-a-simple-block><span class=secno>3.6.13. </span> <dfn
26292629
the token this algorithm was called with. (E.g. if it was called with [,
26302630
the <a href="#ending-token"><i>ending token</i></a> is ].)
26312631

2632-
<p> Create a brace block, bracket block, or paren block as the <dfn
2633-
id=current-block>current block</dfn>, whichever corresponds to the token
2634-
this algorithm was called with.
2632+
<p> Create a simple block with its associated token set to the token this
2633+
algorithm was called with. This is the <dfn id=current-block>current
2634+
block</dfn>.
26352635

26362636
<p> Repeatedly consume the <a href="#next-input-token"><i>next input
26372637
token</i></a> and process it as follows:

css3-syntax/Overview.src.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2114,8 +2114,8 @@ <h3>
21142114

21152115
<dt>simple block
21162116
<dd>
2117-
A simple block is associated with one pair of the block-creating tokens ("[]", "()", or "{}"),
2118-
and contains a list of primitives.
2117+
A simple block is has an associated token (either a [, (, or { token)
2118+
and value which is a list of primitives.
21192119

21202120
<dt>rule block
21212121
<dd>
@@ -2128,8 +2128,7 @@ <h3>
21282128
<dt>declaration
21292129
<dd>
21302130
A declaration has a name
2131-
and a value,
2132-
which is a list of primitives.
2131+
and a value which is a list of primitives.
21332132
</dl>
21342133

21352134
<div class='issue'>
@@ -2642,8 +2641,8 @@ <h4>
26422641
(E.g. if it was called with [, the <i>ending token</i> is ].)
26432642

26442643
<p>
2645-
Create a brace block, bracket block, or paren block as the <dfn>current block</dfn>,
2646-
whichever corresponds to the token this algorithm was called with.
2644+
Create a simple block with its associated token set to the token this algorithm was called with.
2645+
This is the <dfn>current block</dfn>.
26472646

26482647
<p>
26492648
Repeatedly consume the <i>next input token</i> and process it as follows:

0 commit comments

Comments
 (0)