hixie: Make ' red' parse as 'red' for legacy colours. (whatwg r5359)

hixie: Make ' red' parse as 'red' for legacy colours. (whatwg r5359)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4275&r2=1.4276&f=h
http://html5.org/tools/web-apps-tracker?from=5358&to=5359

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4275
retrieving revision 1.4276
diff -u -d -r1.4275 -r1.4276
--- Overview.html 26 Aug 2010 05:02:29 -0000 1.4275
+++ Overview.html 26 Aug 2010 05:50:30 -0000 1.4276
@@ -4646,17 +4646,24 @@
    <li><p>If <var title="">input</var> is the empty string, then
    return an error.</li>
 
-   <li><p>If <var title="">input</var> is an <a href="#ascii-case-insensitive">ASCII
+   <li><p>Let <var title="">keyword</var> be a string with the same
+   value as <var title="">input</var>.</li>
+
+   <li><p><a href="#strip-leading-and-trailing-whitespace">Strip leading and trailing whitespace</a> from <var title="">keyword</var>.</li>
+
+   <li><p>If <var title="">keyword</var> is an <a href="#ascii-case-insensitive">ASCII
    case-insensitive</a> match for the string "<code title="">transparent</code>", then return an error.</li>
 
-   <li><p>If <var title="">input</var> is an <a href="#ascii-case-insensitive">ASCII
-   case-insensitive</a> match for one of the keywords listed in the
-   <a href="http://www.w3.org/TR/css3-color/#svg-color">SVG color
-   keywords</a> <!-- or <a
-   href="http://www.w3.org/TR/css3-color/#css2-system">CSS2 System
-   Colors</a> --> section<!--s--> of the CSS3 Color specification,
-   then return the <a href="#simple-color">simple color</a> corresponding to that
-   keyword. <a href="#refsCSSCOLOR">[CSSCOLOR]</a></p>
+   <li>
+
+    <p>If <var title="">keyword</var> is an <a href="#ascii-case-insensitive">ASCII
+    case-insensitive</a> match for one of the keywords listed in
+    the <a href="http://www.w3.org/TR/css3-color/#svg-color">SVG color
+    keywords</a> <!-- or <a
+    href="http://www.w3.org/TR/css3-color/#css2-system">CSS2 System
+    Colors</a> --> section<!--s--> of the CSS3 Color specification,
+    then return the <a href="#simple-color">simple color</a> corresponding to that
+    keyword. <a href="#refsCSSCOLOR">[CSSCOLOR]</a></p>
 
     <p class="note"><a href="http://www.w3.org/TR/css3-color/#css2-system">CSS2 System
     Colors</a> are not recognised.</p>

Received on Thursday, 26 August 2010 05:51:19 UTC