Skip to content

Commit

Permalink
[] (0) base 16, not base 36, oops. (credit: lh)
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2452 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 26, 2008
1 parent b6f98c8 commit 8906d36
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions index
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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>

Expand Down
14 changes: 7 additions & 7 deletions source
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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>

Expand Down

0 comments on commit 8906d36

Please sign in to comment.