Skip to content

Commit 320a990

Browse files
committed
[css-syntax] Remove 'code point' and 'surrogate code point' in favor of the identical Infra definitions. Fixes w3c#736.
1 parent 728bebe commit 320a990

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

css-syntax/Overview.bs

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -720,11 +720,6 @@ Definitions</h3>
720720
This section defines several terms used during the tokenization phase.
721721

722722
<dl export>
723-
<dt><dfn>code point</dfn>
724-
<dd>
725-
A <a href="http://unicode.org/glossary/#code_point">Unicode code point</a>. [[!UNICODE]]
726-
Any value in the Unicode codespace; that is, the range of integers from 0 to (hexadecimal) 10FFFF.
727-
728723
<dt><dfn>next input code point</dfn>
729724
<dd>
730725
The first <a>code point</a> in the <a>input stream</a> that has not yet been consumed.
@@ -802,10 +797,6 @@ Definitions</h3>
802797
<dt><dfn export>whitespace</dfn>
803798
<dd>A <a>newline</a>, U+0009 CHARACTER TABULATION, or U+0020 SPACE.
804799

805-
<dt><dfn export>surrogate code point</dfn>
806-
<dd>
807-
A <a>code point</a> between U+D800 and U+DFFF inclusive.
808-
809800
<dt><dfn export>maximum allowed code point</dfn>
810801
<dd>The greatest <a>code point</a> defined by Unicode: U+10FFFF.
811802

@@ -1292,7 +1283,7 @@ Consume an escaped code point</h4>
12921283
consume it as well.
12931284
Interpret the <a>hex digits</a> as a hexadecimal number.
12941285
If this number is zero,
1295-
or is for a <a>surrogate code point</a>,
1286+
or is for a <a>surrogate</a>,
12961287
or is greater than the <a>maximum allowed code point</a>,
12971288
return U+FFFD REPLACEMENT CHARACTER (�).
12981289
Otherwise, return the <a>code point</a> with that value.
@@ -3562,7 +3553,7 @@ Changes from CSS 2.1 and Selectors Level 3</h3>
35623553
per WG resolution.
35633554

35643555
<li>
3565-
Hexadecimal escape for <a>surrogate code points</a> now emit a replacement character rather than the surrogate.
3556+
Hexadecimal escape for <a>surrogate</a> now emit a replacement character rather than the surrogate.
35663557
This allows implementations to safely use UTF-16 internally.
35673558

35683559
</ul>

0 commit comments

Comments
 (0)