Skip to content

Commit 54d3d95

Browse files
committed
[css3-syntax] Handle the last component in the comma-separated list.
1 parent 196a729 commit 54d3d95

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

css3-syntax/Overview.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3903,7 +3903,8 @@ <h3 id=parse-a-comma-separated-list-of-componen><span class=secno>6.6.
39033903
Instead, push <var>temp</var> into <var>val</var>. Create a new
39043904
<var>temp</var>, and return to step 2.
39053905

3906-
<li> If the token stream is exhausted, return <var>val</var>.
3906+
<li> If the token stream is exhausted, push <var>temp</var> into
3907+
<var>val</var>, and return <var>val</var>.
39073908
</ol>
39083909

39093910
<h2 id=serialization><span class=secno>7. </span>Serialization</h2>

css3-syntax/Overview.src.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3436,7 +3436,8 @@ <h3>
34363436

34373437
<li>
34383438
If the token stream is exhausted,
3439-
return <var>val</var>.
3439+
push <var>temp</var> into <var>val</var>,
3440+
and return <var>val</var>.
34403441
</ol>
34413442

34423443

0 commit comments

Comments
 (0)