[html5] r806 - /

whatwg at whatwg.org whatwg at whatwg.org
Fri May 11 15:28:56 PDT 2007


Author: ianh
Date: 2007-05-11 15:28:55 -0700 (Fri, 11 May 2007)
New Revision: 806

Modified:
   index
   source
Log:
[gow] (2) createPattern() with an incomplete image must also raise an exception.

Modified: index
===================================================================
--- index	2007-05-11 19:11:59 UTC (rev 805)
+++ index	2007-05-11 22:28:55 UTC (rev 806)
@@ -16046,7 +16046,11 @@
    <code><a href="#htmlimageelement">HTMLImageElement</a></code> or <code><a
    href="#htmlcanvaselement">HTMLCanvasElement</a></code>. If the <var
    title="">image</var> is of the wrong type, the implementation must raise a
-   <code>TYPE_MISMATCH_ERR</code> exception.
+   <code>TYPE_MISMATCH_ERR</code> exception. If the <var title="">image</var>
+   argument is an <code><a
+   href="#htmlimageelement">HTMLImageElement</a></code> object whose <code
+   title=dom-attr-complete>complete</code> attribute is false, then the
+   implementation must raise an <code>INVALID_STATE_ERR</code> exception.
 
   <p>Patterns must be painted so that the top left of the first image is
    anchored at the origin of the coordinate space, and images are then
@@ -16476,7 +16480,7 @@
    exception. If the <var title="">image</var> argument is an <code><a
    href="#htmlimageelement">HTMLImageElement</a></code> object whose <code
    title=dom-attr-complete>complete</code> attribute is false, then the
-   implementation must raise a <code>INVALID_STATE_ERR</code> exception.
+   implementation must raise an <code>INVALID_STATE_ERR</code> exception.
 
   <p>When <code title=dom-context-2d-drawImage><a
    href="#drawimage">drawImage()</a></code> is invoked, the specified region

Modified: source
===================================================================
--- source	2007-05-11 19:11:59 UTC (rev 805)
+++ source	2007-05-11 22:28:55 UTC (rev 806)
@@ -13619,6 +13619,10 @@
   <code>HTMLImageElement</code> or <code>HTMLCanvasElement</code>. If
   the <var title="">image</var> is of the wrong type, the
   implementation must raise a <code>TYPE_MISMATCH_ERR</code>
+  exception. If the <var title="">image</var> argument is an
+  <code>HTMLImageElement</code> object whose <code
+  title="dom-attr-complete">complete</code> attribute is false, then
+  the implementation must raise an <code>INVALID_STATE_ERR</code>
   exception.</p>
 
   <p>Patterns must be painted so that the top left of the first image
@@ -14088,7 +14092,7 @@
   <code>INDEX_SIZE_ERR</code> exception. If the <var
   title="">image</var> argument is an <code>HTMLImageElement</code>
   object whose <code title="dom-attr-complete">complete</code>
-  attribute is false, then the implementation must raise a
+  attribute is false, then the implementation must raise an
   <code>INVALID_STATE_ERR</code> exception.</p>
 
   <p>When <code title="dom-context-2d-drawImage">drawImage()</code> is




More information about the Commit-Watchers mailing list