more cleanup for <canvas> (whatwg r3294)

more cleanup for <canvas> (whatwg r3294)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2440&r2=1.2441&f=h
http://html5.org/tools/web-apps-tracker?from=3293&to=3294

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2440
retrieving revision 1.2441
diff -u -d -r1.2440 -r1.2441
--- Overview.html 17 Jun 2009 04:26:41 -0000 1.2440
+++ Overview.html 17 Jun 2009 04:29:55 -0000 1.2441
@@ -21418,6 +21418,10 @@
   destination rectangle, after applying the <a href="#transformations" title="dom-context-2d-transformation">current transformation
   matrix</a> to the points of the destination rectangle.</p>
 
+  <p>The original image data of the source image must be used, not the
+  image as it is rendered (e.g. <code title="attr-dim-width"><a href="#attr-dim-width">width</a></code> and <code title="attr-dim-height"><a href="#attr-dim-height">height</a></code> attributes on the source
+  element have no effect).</p>
+
   </div><p><img alt="" src="images/drawImage.png"></p><!-- no alt="" text
   since the image is just repeating what was stated in the previous
   paragraph. --><div class="impl">
@@ -21443,10 +21447,6 @@
   subject to <a href="#shadows" title="shadows">shadow effects</a>, <a href="#dom-context-2d-globalalpha" title="dom-context-2d-globalAlpha">global alpha</a>, the <a href="#clipping-region" title="clipping region">clipping region</a>, and <a href="#dom-context-2d-globalcompositeoperation" title="dom-context-2d-globalCompositeOperation">global composition
   operators</a>.</p>
 
-  <!-- XXX should somehow say that the image used is the actual image
-  of the target element, not the rendered image (e.g. height/width
-  attributes don't affect it -->
-
   </div><h6 id="pixel-manipulation"><span class="secno">4.8.11.1.11 </span><dfn>Pixel manipulation</dfn></h6><dl class="domintro"><dt><var title="">imagedata</var> = <var title="">context</var> . <code title="dom-context-2d-createImageData"><a href="#dom-context-2d-createimagedata">createImageData</a></code>(<var title="">sw</var>, <var title="">sh</var>)</dt>
 
    <dd>
@@ -21825,11 +21825,7 @@
    over the current canvas bitmap using the current composition
    operator.</li>
 
-  </ol><!-- XXX add xrefs in the list above --></div><!--
-  <h5 id="3d">The 3D context</h5>
-
-  <p class="XXX">Well, one day.</p>
---><div class="impl">
+  </ol></div><div class="impl">
 
   <h5 id="color-spaces-and-color-correction"><span class="secno">4.8.11.2 </span>Color spaces and color correction</h5>

Received on Wednesday, 17 June 2009 04:30:44 UTC