Skip to content

Commit c223eaf

Browse files
committed
[css-syntax] Fix some typos in the changes section.
1 parent 133b357 commit c223eaf

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

css-syntax/Overview.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2931,8 +2931,8 @@ <h2 class="heading settled heading" data-level=10 id=changes><span class=secno>1
29312931
Any U+0000 NULL <a href=#code-point>code point</a> in the CSS source is replaced with U+FFFD REPLACEMENT CHARACTER.
29322932

29332933
<li>
2934-
Any hexadecimal escape sequence such as <span class=css data-link-type=maybe>\0</span> that evaluate to zero
2935-
produce U+FFFD REPLACEMENT r rather than U+0000 NULL.
2934+
Any hexadecimal escape sequence such as <span class=css data-link-type=maybe>\0</span> that evaluates to zero
2935+
produce U+FFFD REPLACEMENT CHARACTER rather than U+0000 NULL.
29362936
<!--
29372937
This covers a security issue:
29382938
https://bugzilla.mozilla.org/show_bug.cgi?id=228856
@@ -2947,13 +2947,14 @@ <h2 class="heading settled heading" data-level=10 id=changes><span class=secno>1
29472947

29482948
<li>
29492949
Tokenization does not emit COMMENT or BAD_COMMENT tokens anymore.
2950-
BAD_COMMENT is now considered the same as normal token (not an error.)
2950+
BAD_COMMENT is now considered the same as a normal token (not an error).
29512951
<a href=#serialization>Serialization</a> is responsible
29522952
for inserting comments as necessary between tokens that need to be separated,
29532953
e.g. two consecutive <a class=css-code data-link-type=token href=#tokendef-ident>〈ident〉</a>s.
29542954

29552955
<li>
2956-
The <a class=css-code data-link-type=token href=#tokendef-unicode-range>〈unicode-range〉</a> token is now more restrictive.
2956+
The <a class=css-code data-link-type=token href=#tokendef-unicode-range>〈unicode-range〉</a> token is now more restrictive,
2957+
and doesn’t include non-sensical patterns that the 2.1 definition allowed.
29572958

29582959
<li>
29592960
Apply the <a href=http://www.w3.org/TR/CSS21/syndata.html#unexpected-eof>EOF error handling rule</a> in the tokenizer

css-syntax/Overview.src.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2819,8 +2819,8 @@ <h2 id="changes">
28192819
Any U+0000 NULL <a>code point</a> in the CSS source is replaced with U+FFFD REPLACEMENT CHARACTER.
28202820

28212821
<li>
2822-
Any hexadecimal escape sequence such as ''\0'' that evaluate to zero
2823-
produce U+FFFD REPLACEMENT r rather than U+0000 NULL.
2822+
Any hexadecimal escape sequence such as ''\0'' that evaluates to zero
2823+
produce U+FFFD REPLACEMENT CHARACTER rather than U+0000 NULL.
28242824
<!--
28252825
This covers a security issue:
28262826
https://bugzilla.mozilla.org/show_bug.cgi?id=228856
@@ -2835,13 +2835,14 @@ <h2 id="changes">
28352835

28362836
<li>
28372837
Tokenization does not emit COMMENT or BAD_COMMENT tokens anymore.
2838-
BAD_COMMENT is now considered the same as normal token (not an error.)
2838+
BAD_COMMENT is now considered the same as a normal token (not an error).
28392839
<a href="#serialization">Serialization</a> is responsible
28402840
for inserting comments as necessary between tokens that need to be separated,
28412841
e.g. two consecutive <<<ident>>>s.
28422842

28432843
<li>
2844-
The <<<unicode-range>>> token is now more restrictive.
2844+
The <<<unicode-range>>> token is now more restrictive,
2845+
and doesn't include non-sensical patterns that the 2.1 definition allowed.
28452846

28462847
<li>
28472848
Apply the <a href="http://www.w3.org/TR/CSS21/syndata.html#unexpected-eof">EOF error handling rule</a> in the tokenizer

0 commit comments

Comments
 (0)