[html5] r3387 - [e] (0) Mention that pushImageData() doesn't get affected by shadows, etc.

whatwg at whatwg.org whatwg at whatwg.org
Sat Jul 11 23:58:12 PDT 2009


Author: ianh
Date: 2009-07-11 23:58:09 -0700 (Sat, 11 Jul 2009)
New Revision: 3387

Modified:
   index
   source
Log:
[e] (0) Mention that pushImageData() doesn't get affected by shadows, etc.

Modified: index
===================================================================
--- index	2009-07-10 22:09:38 UTC (rev 3386)
+++ index	2009-07-12 06:58:09 UTC (rev 3387)
@@ -67,7 +67,7 @@
   <div class=head>
    <p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <h1>HTML 5</h1>
-   <h2 class="no-num no-toc" id=draft-standard-—-date:-01-jan-1901>Draft Standard — 10 July 2009</h2>
+   <h2 class="no-num no-toc" id=draft-standard-—-date:-01-jan-1901>Draft Standard — 12 July 2009</h2>
    <p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -24832,6 +24832,13 @@
     onto the canvas. If a dirty rectangle is provided, only the pixels
     from that rectangle are painted.</p>
 
+    <p>The <code title=dom-context-2d-globalAlpha><a href=#dom-context-2d-globalalpha>globalAlpha</a></code>
+    and <code title=dom-context-2d-globalCompositeOperation><a href=#dom-context-2d-globalcompositeoperation>globalCompositeOperation</a></code>
+    attributes, as well as the shadow attributes, are ignored for the
+    purposes of this method call; pixels in the canvas are replaced
+    wholesale, with no composition, alpha blending, no shadows,
+    etc.</p>
+
     <p>If the first argument isn't an <code><a href=#imagedata>ImageData</a></code> object,
     throws a <code><a href=#type_mismatch_err>TYPE_MISMATCH_ERR</a></code> exception. Throws a
     <code><a href=#not_supported_err>NOT_SUPPORTED_ERR</a></code> exception if any of the other

Modified: source
===================================================================
--- source	2009-07-10 22:09:38 UTC (rev 3386)
+++ source	2009-07-12 06:58:09 UTC (rev 3387)
@@ -27183,6 +27183,14 @@
     onto the canvas. If a dirty rectangle is provided, only the pixels
     from that rectangle are painted.</p>
 
+    <p>The <code title="dom-context-2d-globalAlpha">globalAlpha</code>
+    and <code
+    title="dom-context-2d-globalCompositeOperation">globalCompositeOperation</code>
+    attributes, as well as the shadow attributes, are ignored for the
+    purposes of this method call; pixels in the canvas are replaced
+    wholesale, with no composition, alpha blending, no shadows,
+    etc.</p>
+
     <p>If the first argument isn't an <code>ImageData</code> object,
     throws a <code>TYPE_MISMATCH_ERR</code> exception. Throws a
     <code>NOT_SUPPORTED_ERR</code> exception if any of the other




More information about the Commit-Watchers mailing list