[html5] r3375 - [e] (0) Elaborate that .globalAlpha ignores Infinity and NaN values.

whatwg at whatwg.org whatwg at whatwg.org
Tue Jul 7 19:21:28 PDT 2009


Author: ianh
Date: 2009-07-07 19:21:27 -0700 (Tue, 07 Jul 2009)
New Revision: 3375

Modified:
   index
   source
Log:
[e] (0) Elaborate that .globalAlpha ignores Infinity and NaN values.

Modified: index
===================================================================
--- index	2009-07-08 01:04:05 UTC (rev 3374)
+++ index	2009-07-08 02:21:27 UTC (rev 3375)
@@ -22936,8 +22936,9 @@
   before they are composited onto the canvas. The value must be in the
   range from 0.0 (fully transparent) to 1.0 (no additional
   transparency). If an attempt is made to set the attribute to a value
-  outside this range, the attribute must retain its previous
-  value. When the context is created, the <code title=dom-context-2d-globalAlpha><a href=#dom-context-2d-globalalpha>globalAlpha</a></code> attribute must
+  outside this range (including Infinity and NaN values), the
+  attribute must retain its previous value. When the context is
+  created, the <code title=dom-context-2d-globalAlpha><a href=#dom-context-2d-globalalpha>globalAlpha</a></code> attribute must
   initially have the value 1.0.</p>
 
   <p>The <dfn id=dom-context-2d-globalcompositeoperation title=dom-context-2d-globalCompositeOperation><code>globalCompositeOperation</code></dfn>

Modified: source
===================================================================
--- source	2009-07-08 01:04:05 UTC (rev 3374)
+++ source	2009-07-08 02:21:27 UTC (rev 3375)
@@ -24938,8 +24938,9 @@
   before they are composited onto the canvas. The value must be in the
   range from 0.0 (fully transparent) to 1.0 (no additional
   transparency). If an attempt is made to set the attribute to a value
-  outside this range, the attribute must retain its previous
-  value. When the context is created, the <code
+  outside this range (including Infinity and NaN values), the
+  attribute must retain its previous value. When the context is
+  created, the <code
   title="dom-context-2d-globalAlpha">globalAlpha</code> attribute must
   initially have the value 1.0.</p>
 




More information about the Commit-Watchers mailing list