[html5] r2452 - [] (0) base 16, not base 36, oops. (credit: lh)
whatwg at whatwg.org
whatwg at whatwg.org
Tue Nov 25 20:11:26 PST 2008
Author: ianh
Date: 2008-11-25 20:11:26 -0800 (Tue, 25 Nov 2008)
New Revision: 2452
Modified:
index
source
Log:
[] (0) base 16, not base 36, oops. (credit: lh)
Modified: index
===================================================================
--- index 2008-11-26 04:07:46 UTC (rev 2451)
+++ index 2008-11-26 04:11:26 UTC (rev 2452)
@@ -3441,16 +3441,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 id=valid-lowercase-simple-color>valid lowercase simple color</dfn> if it is a
<a href=#valid-simple-color>valid simple color</a> 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 id=rules-for-parsing-simple-color-values>rules for parsing simple color values</dfn> are as given
in the following algorithm. When invoked, the steps must be followed
@@ -3469,8 +3469,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.</li>
<li><p>Let <var title="">result</var> be a <a href=#simple-color>simple
@@ -3497,7 +3497,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>
Modified: source
===================================================================
--- source 2008-11-26 04:07:46 UTC (rev 2451)
+++ source 2008-11-26 04:11:26 UTC (rev 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>
More information about the Commit-Watchers
mailing list