- From: poot <cvsmail@w3.org>
- Date: Wed, 26 Nov 2008 13:14:01 +0900 (JST)
- To: public-html-diffs@w3.org
base 16, not base 36, oops. (credit: lh) (whatwg r2452) rules for serialising simple color values http://people.w3.org/mike/diffs/html5/spec/Overview.1.1624.html#rules-for-serialising-simple-color-values valid simple color http://people.w3.org/mike/diffs/html5/spec/Overview.1.1624.html#valid-simple-color valid lowercase simple color http://people.w3.org/mike/diffs/html5/spec/Overview.1.1624.html#valid-lowercase-simple-color rules for parsing simple color values http://people.w3.org/mike/diffs/html5/spec/Overview.1.1624.html#rules-for-parsing-simple-color-values http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1623&r2=1.1624&f=h http://html5.org/tools/web-apps-tracker?from=2451&to=2452 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1623 retrieving revision 1.1624 diff -u -d -r1.1623 -r1.1624 --- Overview.html 26 Nov 2008 04:07:50 -0000 1.1623 +++ Overview.html 26 Nov 2008 04:11:30 -0000 1.1624 @@ -2886,14 +2886,14 @@ 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>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 <dfn id=rules-for-parsing-simple-color-values>rules for parsing simple color values</dfn> are as given + the range U+0041 LATIN CAPITAL LETTER A .. U+0046 LATIN CAPITAL + LETTER F.<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 in the order given, aborting at the first step that returns a value. This algorithm will either return a <a href=#simple-color>simple color</a> @@ -2908,8 +2908,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 @@ -2934,7 +2934,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>
Received on Wednesday, 26 November 2008 04:14:40 UTC