[html5] r7569 - [e] (0) fix old prose Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=1992 [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Dec 5 13:13:07 PST 2012


Author: ianh
Date: 2012-12-05 13:13:06 -0800 (Wed, 05 Dec 2012)
New Revision: 7569

Modified:
   complete.html
   index
   source
Log:
[e] (0) fix old prose
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=19921
Affected topics: Canvas, DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2012-12-05 20:55:14 UTC (rev 7568)
+++ complete.html	2012-12-05 21:13:06 UTC (rev 7569)
@@ -4089,7 +4089,6 @@
      <li value=13><dfn id=invalidmodificationerror><code>InvalidModificationError</code></dfn></li>
      <li value=14><dfn id=namespaceerror><code>NamespaceError</code></dfn></li>
      <li value=15><dfn id=invalidaccesserror><code>InvalidAccessError</code></dfn></li>
-     <li value=17><dfn id=typemismatcherror><code>TypeMismatchError</code></dfn></li>
      <li value=18><dfn id=securityerror><code>SecurityError</code></dfn></li>
      <li value=19><dfn id=networkerror><code>NetworkError</code></dfn></li>
      <li value=20><dfn id=aborterror><code>AbortError</code></dfn></li>
@@ -38822,13 +38821,11 @@
 
     <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><a href=#typemismatcherror>TypeMismatchError</a></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 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>
 
    </dd>
 

Modified: index
===================================================================
--- index	2012-12-05 20:55:14 UTC (rev 7568)
+++ index	2012-12-05 21:13:06 UTC (rev 7569)
@@ -4089,7 +4089,6 @@
      <li value=13><dfn id=invalidmodificationerror><code>InvalidModificationError</code></dfn></li>
      <li value=14><dfn id=namespaceerror><code>NamespaceError</code></dfn></li>
      <li value=15><dfn id=invalidaccesserror><code>InvalidAccessError</code></dfn></li>
-     <li value=17><dfn id=typemismatcherror><code>TypeMismatchError</code></dfn></li>
      <li value=18><dfn id=securityerror><code>SecurityError</code></dfn></li>
      <li value=19><dfn id=networkerror><code>NetworkError</code></dfn></li>
      <li value=20><dfn id=aborterror><code>AbortError</code></dfn></li>
@@ -38822,13 +38821,11 @@
 
     <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><a href=#typemismatcherror>TypeMismatchError</a></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 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>
 
    </dd>
 

Modified: source
===================================================================
--- source	2012-12-05 20:55:14 UTC (rev 7568)
+++ source	2012-12-05 21:13:06 UTC (rev 7569)
@@ -2980,7 +2980,6 @@
      <li value="13"><dfn><code>InvalidModificationError</code></dfn></li>
      <li value="14"><dfn><code>NamespaceError</code></dfn></li>
      <li value="15"><dfn><code>InvalidAccessError</code></dfn></li>
-     <li value="17"><dfn><code>TypeMismatchError</code></dfn></li>
      <li value="18"><dfn><code>SecurityError</code></dfn></li>
      <li value="19"><dfn><code>NetworkError</code></dfn></li>
      <li value="20"><dfn><code>AbortError</code></dfn></li>
@@ -45364,13 +45363,11 @@
 
     <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>TypeMismatchError</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 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>
 
    </dd>
 




More information about the Commit-Watchers mailing list