[html5] r7571 - [e] (0) Remove this comment for consistency. Fixing https://www.w3.org/Bugs/Publ [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Dec 7 14:30:56 PST 2012


Author: ianh
Date: 2012-12-07 14:30:55 -0800 (Fri, 07 Dec 2012)
New Revision: 7571

Modified:
   complete.html
   index
   source
Log:
[e] (0) Remove this comment for consistency.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=19921
Affected topics: Canvas

Modified: complete.html
===================================================================
--- complete.html	2012-12-07 22:26:53 UTC (rev 7570)
+++ complete.html	2012-12-07 22:30:55 UTC (rev 7571)
@@ -38821,11 +38821,9 @@
 
     <p><img alt="The sx and sy parameters give the x and y coordinates of the source rectangle; the sw and sh arguments give the width and height of the source rectangle; the dx and dy give the x and y coordinates of the destination rectangle; and the dw and dh arguments give the width and height of the destination rectangle." height=356 src=http://images.whatwg.org/drawImage.png width=356></p>
 
-    <p>If the first argument isn't an <code><a href=#the-img-element>img</a></code>, <code><a href=#the-canvas-element>canvas</a></code>, or <code><a href=#the-video-element>video</a></code>
-    element, throws a <code>TypeError</code> exception. If the image has no image data, throws an
-    <code><a href=#invalidstateerror>InvalidStateError</a></code> exception. If the one of the source rectangle dimensions is zero,
-    throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception. If the image isn't yet fully decoded, then
-    nothing is drawn.</p>
+    <p>If the image has no image data, throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception. If the
+    one of the source rectangle dimensions is zero, throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.
+    If the image isn't yet fully decoded, then nothing is drawn.</p>
 
    </dd>
 

Modified: index
===================================================================
--- index	2012-12-07 22:26:53 UTC (rev 7570)
+++ index	2012-12-07 22:30:55 UTC (rev 7571)
@@ -38821,11 +38821,9 @@
 
     <p><img alt="The sx and sy parameters give the x and y coordinates of the source rectangle; the sw and sh arguments give the width and height of the source rectangle; the dx and dy give the x and y coordinates of the destination rectangle; and the dw and dh arguments give the width and height of the destination rectangle." height=356 src=http://images.whatwg.org/drawImage.png width=356></p>
 
-    <p>If the first argument isn't an <code><a href=#the-img-element>img</a></code>, <code><a href=#the-canvas-element>canvas</a></code>, or <code><a href=#the-video-element>video</a></code>
-    element, throws a <code>TypeError</code> exception. If the image has no image data, throws an
-    <code><a href=#invalidstateerror>InvalidStateError</a></code> exception. If the one of the source rectangle dimensions is zero,
-    throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception. If the image isn't yet fully decoded, then
-    nothing is drawn.</p>
+    <p>If the image has no image data, throws an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception. If the
+    one of the source rectangle dimensions is zero, throws an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.
+    If the image isn't yet fully decoded, then nothing is drawn.</p>
 
    </dd>
 

Modified: source
===================================================================
--- source	2012-12-07 22:26:53 UTC (rev 7570)
+++ source	2012-12-07 22:30:55 UTC (rev 7571)
@@ -45363,11 +45363,9 @@
 
     <p><img src="images/drawImage.png" width="356" height="356" alt="The sx and sy parameters give the x and y coordinates of the source rectangle; the sw and sh arguments give the width and height of the source rectangle; the dx and dy give the x and y coordinates of the destination rectangle; and the dw and dh arguments give the width and height of the destination rectangle."></p>
 
-    <p>If the first argument isn't an <code>img</code>, <code>canvas</code>, or <code>video</code>
-    element, throws a <code>TypeError</code> exception. If the image has no image data, throws an
-    <code>InvalidStateError</code> exception. If the one of the source rectangle dimensions is zero,
-    throws an <code>IndexSizeError</code> exception. If the image isn't yet fully decoded, then
-    nothing is drawn.</p>
+    <p>If the image has no image data, throws an <code>InvalidStateError</code> exception. If the
+    one of the source rectangle dimensions is zero, throws an <code>IndexSizeError</code> exception.
+    If the image isn't yet fully decoded, then nothing is drawn.</p>
 
    </dd>
 




More information about the Commit-Watchers mailing list