Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-syntax-3] Remove duplicate token stream creations #11129

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions css-syntax-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2161,9 +2161,7 @@ Parser Entry Points</h3>
3. If |input| is a [=string=],
then [=filter code points=] from |input|,
[=tokenize=] the result,
then create a new [=token stream=]
with those tokens as its [=token stream/tokens=],
and return it.
and return the stream of tokens.

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

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

2. [=Consume a list of component values=] from |input|,
2. [=Consume a list of component values=] from |tokens|,
and return the result.

Note: The existence of this algorithm
Expand Down