Skip to content

[css-syntax-3] Fix two typos in <urange> parsing algorithm #7192

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

Merged
merged 1 commit into from
Apr 4, 2022
Merged
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
4 changes: 2 additions & 2 deletions css-syntax-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -3173,7 +3173,7 @@ The <<urange>> type</h3>
this is an invalid <<urange>>,
and this algorithm must exit.

3. Consume as many <a>hex digits</a> from <var>text</var> as possible.
3. Consume as many <a>hex digits</a> from <var>text</var> as possible,
then consume as many U+003F QUESTION MARK (?) <a>code points</a> as possible.
If zero <a>code points</a> were consumed,
or more than six <a>code points</a> were consumed,
Expand Down Expand Up @@ -3202,7 +3202,7 @@ The <<urange>> type</h3>
This is the <var>start value</var>.

4. If there are no <a>code points</a> left in <var>text</var>,
The <var>end value</var> is the same as the <var>start value</var>.
the <var>end value</var> is the same as the <var>start value</var>.
Exit this algorithm.

5. If the next <a>code point</a> in <var>text</var> is U+002D HYPHEN-MINUS (-),
Expand Down