Skip to content

Commit 87f7d6e

Browse files
authored
Merge pull request #7192 from AtkinsSJ/css-syntax-3-typos
[css-syntax-3] Fix two typos in `<urange>` parsing algorithm
2 parents b81336c + 5b2c43a commit 87f7d6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-syntax-3/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3173,7 +3173,7 @@ The <<urange>> type</h3>
31733173
this is an invalid <<urange>>,
31743174
and this algorithm must exit.
31753175

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

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

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

0 commit comments

Comments
 (0)