Skip to content

Commit de3eb40

Browse files
authored
[css-syntax-3] Remove duplicate token stream creations (#11129)
1 parent d2ed7a9 commit de3eb40

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

css-syntax-3/Overview.bs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2161,9 +2161,7 @@ Parser Entry Points</h3>
21612161
3. If |input| is a [=string=],
21622162
then [=filter code points=] from |input|,
21632163
[=tokenize=] the result,
2164-
then create a new [=token stream=]
2165-
with those tokens as its [=token stream/tokens=],
2166-
and return it.
2164+
and return the stream of tokens.
21672165

21682166
4. Assert: Only the preceding types should be passed as |input|.
21692167
</div>
@@ -3189,9 +3187,8 @@ Consume a '@font-face/unicode-range' value</h4>
31893187

31903188
1. Let |tokens| be the result of [=CSS/tokenizing=] |input string|
31913189
with |unicode ranges allowed| set to true.
3192-
Let |input| be a new [=token stream=] from |tokens|.
31933190

3194-
2. [=Consume a list of component values=] from |input|,
3191+
2. [=Consume a list of component values=] from |tokens|,
31953192
and return the result.
31963193

31973194
Note: The existence of this algorithm

0 commit comments

Comments
 (0)