Skip to content

Commit 667ff8b

Browse files
authored
[css-syntax-3] Improvements to grammar, possessives, perspectives, and links (w3c#5340)
* Clarify simple block value description * Align "Consume a function" description * Fix reference from "the empty list" to "an empty list" * Consistently link "list" when referred to in "an empty list"
2 parents 776a1fd + 306eaf0 commit 667ff8b

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

css-syntax-3/Overview.bs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2405,7 +2405,7 @@ Consume an at-rule</h4>
24052405
<a>Consume the next input token</a>.
24062406
Create a new at-rule
24072407
with its name set to the value of the <a>current input token</a>,
2408-
its prelude initially set to an empty list,
2408+
its prelude initially set to an empty [=list=],
24092409
and its value initially set to nothing.
24102410

24112411
Repeatedly consume the <a>next input token</a>:
@@ -2445,7 +2445,7 @@ Consume a qualified rule</h4>
24452445
To <dfn>consume a qualified rule</dfn>:
24462446

24472447
Create a new qualified rule
2448-
with its prelude initially set to an empty list,
2448+
with its prelude initially set to an empty [=list=],
24492449
and its value initially set to nothing.
24502450

24512451
Repeatedly consume the <a>next input token</a>:
@@ -2529,7 +2529,7 @@ Consume a declaration</h4>
25292529
<a>Consume the next input token</a>.
25302530
Create a new declaration
25312531
with its name set to the value of the <a>current input token</a>
2532-
and its value initially set to the empty [=list=].
2532+
and its value initially set to an empty [=list=].
25332533

25342534
<ol>
25352535
<li>
@@ -2599,7 +2599,7 @@ Consume a simple block</h4>
25992599
(E.g. if it was called with <a href="#tokendef-open-square">&lt;[-token></a>, the <a>ending token</a> is <a href="#tokendef-close-square">&lt;]-token></a>.)
26002600

26012601
Create a <a>simple block</a> with its associated token set to the <a>current input token</a>
2602-
and with a value with is initially an empty list.
2602+
and with its value initially set to an empty [=list=].
26032603

26042604
Repeatedly consume the <a>next input token</a> and process it as follows:
26052605

@@ -2640,8 +2640,8 @@ Consume a function</h4>
26402640

26412641
To <dfn>consume a function</dfn>:
26422642

2643-
Create a function with a name equal to the value of the <a>current input token</a>,
2644-
and with a value which is initially an empty list.
2643+
Create a function with its name equal to the value of the <a>current input token</a>
2644+
and with its value initially set to an empty [=list=].
26452645

26462646
Repeatedly consume the <a>next input token</a> and process it as follows:
26472647

0 commit comments

Comments
 (0)