Skip to content

Commit b801b2f

Browse files
committed
[css-syntax-3] 'parse a list' needs to early-out on empty values, so whitespace doesn't trigger spurious failures.
1 parent 8e8a7b9 commit b801b2f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

css-syntax-3/Overview.bs

+4
Original file line numberDiff line numberDiff line change
@@ -2086,6 +2086,10 @@ Parse A Comma-Separated List According To A CSS Grammar</h4>
20862086
[=Normalize=] |input|,
20872087
and set |input| to the result.
20882088

2089+
<li>
2090+
If |input| contains only <<whitespace-token>>s,
2091+
return an empty [=list=].
2092+
20892093
<li>
20902094
<a>Parse a comma-separated list of component values</a> from |input|,
20912095
and let <var>list</var> be the return value.

0 commit comments

Comments
 (0)