html5/2dcontext Overview.html,1.100,1.101

Update of /sources/public/html5/2dcontext
In directory hutz:/tmp/cvs-serv30510

Modified Files:
	Overview.html 
Log Message:
Change how canvas serialises alpha<1 colours to match CSS. (whatwg r5875)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/2dcontext/Overview.html,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -d -r1.100 -r1.101
--- Overview.html	11 Feb 2011 01:34:36 -0000	1.100
+++ Overview.html	11 Feb 2011 20:36:13 -0000	1.101
@@ -1101,10 +1101,13 @@
   to U+0039, in the shortest form possible), a literal U+002C COMMA
   and U+0020 SPACE, an integer for the green component, a comma and a
   space, an integer for the blue component, another comma and space, a
-  U+0030 DIGIT ZERO, a U+002E FULL STOP (representing the decimal
-  point), one or more digits in the range 0-9 (U+0030 to U+0039)
-  representing the fractional part of the alpha value, and finally a
-  U+0029 RIGHT PARENTHESIS.</p>
+  U+0030 DIGIT ZERO, if the alpha value is greater than zero then a
+  U+002E FULL STOP (representing the decimal point), if the alpha
+  value is greater than zero then one or more digits in the range 0-9
+  (U+0030 to U+0039) representing the fractional part of the alpha
+  value, and finally a U+0029 RIGHT PARENTHESIS.</p> <!-- if people
+  complain this is unreadable, expand it into a <dl> with two nested
+  <ol>s -->
 
   <p>When the context is created, the <code title="dom-context-2d-strokeStyle"><a href="#dom-context-2d-strokestyle">strokeStyle</a></code> and <code title="dom-context-2d-fillStyle"><a href="#dom-context-2d-fillstyle">fillStyle</a></code> attributes must
   initially have the string value <code title="">#000000</code>.</p>

Received on Friday, 11 February 2011 20:36:17 UTC