Skip to content

Commit 20c3e4f

Browse files
committed
[css3-syntax] Make \0 return U+fffd as well.
1 parent 4a4c40f commit 20c3e4f

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

css3-syntax/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2563,10 +2563,10 @@ <h4 id=consume-an-escaped-character><span class=secno>3.4.27. </span> <dfn
25632563
href="#next-input-character"><i>next input character</i></a> is <a
25642564
href="#whitespace"><i>whitespace</i></a>, consume it as well. Interpret
25652565
the <a href="#hex-digit"><i>hex digits</i></a> as a hexadecimal number.
2566-
If this number is greater than the <a
2566+
If this number is zero, or is greater than the <a
25672567
href="#maximum-allowed-codepoint"><i>maximum allowed codepoint</i></a>,
2568-
return U+FFFD REPLACEMENT CHARACTER. Otherwise, return the character with
2569-
that codepoint.
2568+
return U+FFFD REPLACEMENT CHARACTER (�). Otherwise, return the
2569+
character with that codepoint.
25702570

25712571
<dt>anything else
25722572

css3-syntax/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2071,9 +2071,9 @@ <h4>
20712071
<i>whitespace</i>,
20722072
consume it as well.
20732073
Interpret the <i>hex digits</i> as a hexadecimal number.
2074-
If this number is greater than
2075-
the <i>maximum allowed codepoint</i>,
2076-
return U+FFFD REPLACEMENT CHARACTER.
2074+
If this number is zero,
2075+
or is greater than the <i>maximum allowed codepoint</i>,
2076+
return U+FFFD REPLACEMENT CHARACTER (�).
20772077
Otherwise, return the character with that codepoint.
20782078

20792079
<dt>anything else

0 commit comments

Comments
 (0)