@@ -565,6 +565,11 @@ <h4 id=definitions><span class=secno>3.4.2. </span> Definitions</h4>
565565
566566 < dd > A < a href ="#newline "> < i > newline</ i > </ a > , U+0009 CHARACTER TABULATION,
567567 or U+0020 SPACE.
568+
569+ < dt > < dfn id =maximum-allowed-codepoint > maximum allowed codepoint</ dfn >
570+
571+ < dd > The greatest codepoint defined by Unicode. This is currently U+10FFFF.
572+
568573 </ dl >
569574
570575 < h4 id =data-state > < span class =secno > 3.4.3. </ span > < dfn id =data-state0 > Data
@@ -1765,9 +1770,10 @@ <h4 id=consume-an-escaped-character><span class=secno>3.4.25. </span> <dfn
17651770 href ="#next-input-character "> < i > next input character</ i > </ a > is < a
17661771 href ="#whitespace "> < i > whitespace</ i > </ a > , consume it as well. Interpret
17671772 the < a href ="#hex-digit "> < i > hex digits</ i > </ a > as a hexadecimal number.
1768- If this number is greater than the current maximum allowed codepoint in
1769- Unicode (currently U+10FFFF), return U+FFFD REPLACEMENT CHARACTER.
1770- Otherwise, return the character with that codepoint.
1773+ If this number is greater than the < a
1774+ href ="#maximum-allowed-codepoint "> < i > maximum allowed codepoint</ i > </ a > ,
1775+ return U+FFFD REPLACEMENT CHARACTER. Otherwise, return the character with
1776+ that codepoint.
17711777
17721778 < dt > anything else
17731779
@@ -1788,8 +1794,8 @@ <h4 id=set-the-unicode-range-tokens-range><span class=secno>3.4.26. </span>
17881794 might be defined, and both are non-negative integers.
17891795
17901796 < p > If the < a href ="#start-of-the-range "> < i > start of the range</ i > </ a > is
1791- greater than the current maximum allowed codepoint in Unicode (currently
1792- U+10FFFF) , the unicode-range token's range is empty.
1797+ greater than the < a href =" # maximum- allowed- codepoint" > < i > maximum allowed
1798+ codepoint </ i > </ a > , the unicode-range token's range is empty.
17931799
17941800 < p > If the < a href ="#end-of-the-range "> < i > end of the range</ i > </ a > is
17951801 defined, and it is less than the < a href ="#start-of-the-range "> < i > start of
@@ -1801,12 +1807,14 @@ <h4 id=set-the-unicode-range-tokens-range><span class=secno>3.4.26. </span>
18011807 range</ i > </ a > .
18021808
18031809 < p > Otherwise, if the < a href ="#end-of-the-range "> < i > end of the
1804- range</ i > </ a > is greater than the current maximum allowed codepoint in
1805- Unicode, change it to the current maximum allowed codepoint. The
1806- unicode-range token's range is all characters between the character whose
1807- codepoint is the < a href ="#start-of-the-range "> < i > start of the
1808- range</ i > </ a > and the character whose codepoint is the < a
1809- href ="#end-of-the-range "> < i > end of the range</ i > </ a > . <!--
1810+ range</ i > </ a > is greater than the < a
1811+ href ="#maximum-allowed-codepoint "> < i > maximum allowed codepoint</ i > </ a > ,
1812+ change it to the < a href ="#maximum-allowed-codepoint "> < i > maximum allowed
1813+ codepoint</ i > </ a > . The unicode-range token's range is all characters
1814+ between the character whose codepoint is the < a
1815+ href ="#start-of-the-range "> < i > start of the range</ i > </ a > and the character
1816+ whose codepoint is the < a href ="#end-of-the-range "> < i > end of the
1817+ range</ i > </ a > . <!--
18101818PPPPPPPPPPPPPPPPP AAA RRRRRRRRRRRRRRRRR SSSSSSSSSSSSSSS EEEEEEEEEEEEEEEEEEEEEERRRRRRRRRRRRRRRRR
18111819P::::::::::::::::P A:::A R::::::::::::::::R SS:::::::::::::::SE::::::::::::::::::::ER::::::::::::::::R
18121820P::::::PPPPPP:::::P A:::::A R::::::RRRRRR:::::R S:::::SSSSSS::::::SE::::::::::::::::::::ER::::::RRRRRR:::::R
@@ -2192,6 +2200,9 @@ <h2 class=no-num id=index> Index</h2>
21922200 < li > lowercase letter, < a href ="#lowercase-letter "
21932201 title ="lowercase letter "> < strong > 3.4.2.</ strong > </ a >
21942202
2203+ < li > maximum allowed codepoint, < a href ="#maximum-allowed-codepoint "
2204+ title ="maximum allowed codepoint "> < strong > 3.4.2.</ strong > </ a >
2205+
21952206 < li > name character, < a href ="#name-character "
21962207 title ="name character "> < strong > 3.4.2.</ strong > </ a >
21972208
0 commit comments