Short URL: http://html5.org/r/2452
| SVN | Bug | Comment | Time (UTC) |
|---|---|---|---|
| 2452 | base 16, not base 36, oops. (credit: lh) | 2008-11-26 04:11 |
Index: source
===================================================================
--- source (revision 2451)
+++ source (revision 2452)
@@ -2954,16 +2954,16 @@
seven characters long, and the first character is a U+0023 NUMBER
SIGN (#) character, and the remaining six characters are all in the
range U+0030 DIGIT ZERO (0) .. U+0039 DIGIT NINE (9), U+0041 LATIN
- CAPITAL LETTER A .. U+005A LATIN CAPITAL LETTER Z, U+0061 LATIN
- SMALL LETTER A .. U+007A LATIN SMALL LETTER Z, with the first two
+ CAPITAL LETTER A .. U+0046 LATIN CAPITAL LETTER F, U+0061 LATIN
+ SMALL LETTER A .. U+0066 LATIN SMALL LETTER F, with the first two
digits representing the red component, the middle two digits
representing the green component, and the last two digits
representing the blue component, in hexadecimal.</p>
<p>A string is a <dfn>valid lowercase simple color</dfn> if it is a
<span>valid simple color</span> and doesn't use any characters in
- the range U+0041 LATIN CAPITAL LETTER A .. U+005A LATIN CAPITAL
- LETTER Z.</p>
+ the range U+0041 LATIN CAPITAL LETTER A .. U+0046 LATIN CAPITAL
+ LETTER F.</p>
<p>The <dfn>rules for parsing simple color values</dfn> are as given
in the following algorithm. When invoked, the steps must be followed
@@ -2984,8 +2984,8 @@
<li><p>If the last six characters of <var title="">input</var> are
not all in the range U+0030 DIGIT ZERO (0) .. U+0039 DIGIT NINE
- (9), U+0041 LATIN CAPITAL LETTER A .. U+005A LATIN CAPITAL LETTER
- Z, U+0061 LATIN SMALL LETTER A .. U+007A LATIN SMALL LETTER Z, then
+ (9), U+0041 LATIN CAPITAL LETTER A .. U+0046 LATIN CAPITAL LETTER
+ F, U+0061 LATIN SMALL LETTER A .. U+0066 LATIN SMALL LETTER F, then
return an error.</p></li>
<li><p>Let <var title="">result</var> be a <span>simple
@@ -3019,7 +3019,7 @@
<li><p>Convert the red, green, and blue components in turn to
two-digit hexadecimal numbers using the digits U+0030 DIGIT ZERO
(0) .. U+0039 DIGIT NINE (9) and U+0061 LATIN SMALL LETTER A
- .. U+007A LATIN SMALL LETTER Z, zero-padding if necessary, and
+ .. U+0066 LATIN SMALL LETTER F, zero-padding if necessary, and
append these numbers to <var title="">result</var>, in the order
red, green, blue.</p>