[html5] r3729 - [e] (0) Update drawImage() and createPattern() domintro blocks.
whatwg at whatwg.org
whatwg at whatwg.org
Wed Sep 2 15:00:39 PDT 2009
Author: ianh
Date: 2009-09-02 15:00:38 -0700 (Wed, 02 Sep 2009)
New Revision: 3729
Modified:
index
source
Log:
[e] (0) Update drawImage() and createPattern() domintro blocks.
Modified: index
===================================================================
--- index 2009-09-02 21:39:21 UTC (rev 3728)
+++ index 2009-09-02 22:00:38 UTC (rev 3729)
@@ -24474,11 +24474,11 @@
<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=#video>video</a></code> element, throws a
- <code><a href=#type_mismatch_err>TYPE_MISMATCH_ERR</a></code> exception. If the image is not
- fully decoded yet, or has no image data, throws an
- <code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception. If the second argument
- isn't one of the allowed values, throws a <code><a href=#syntax_err>SYNTAX_ERR</a></code>
- exception.</p>
+ <code><a href=#type_mismatch_err>TYPE_MISMATCH_ERR</a></code> exception. If the image has no
+ image data, throws an <code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception. If
+ the second argument isn't one of the allowed values, throws a
+ <code><a href=#syntax_err>SYNTAX_ERR</a></code> exception. If the image isn't yet fully
+ decoded, then the method returns null.</p>
</dd>
@@ -25822,11 +25822,11 @@
<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=#video>video</a></code> element, throws a
- <code><a href=#type_mismatch_err>TYPE_MISMATCH_ERR</a></code> exception. If the image is not
- fully decoded yet, or has no image data, throws an
- <code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception. If the second argument
- isn't one of the allowed values, throws a <code><a href=#syntax_err>SYNTAX_ERR</a></code>
- exception.</p>
+ <code><a href=#type_mismatch_err>TYPE_MISMATCH_ERR</a></code> exception. If the image has no
+ image data, throws an <code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception. If
+ the second argument isn't one of the allowed values, throws a
+ <code><a href=#syntax_err>SYNTAX_ERR</a></code> exception. If the image isn't yet fully
+ decoded, then nothing is drawn.</p>
</dd>
Modified: source
===================================================================
--- source 2009-09-02 21:39:21 UTC (rev 3728)
+++ source 2009-09-02 22:00:38 UTC (rev 3729)
@@ -26759,11 +26759,11 @@
<p>If the first argument isn't an <code>img</code>,
<code>canvas</code>, or <code>video</code> element, throws a
- <code>TYPE_MISMATCH_ERR</code> exception. If the image is not
- fully decoded yet, or has no image data, throws an
- <code>INVALID_STATE_ERR</code> exception. If the second argument
- isn't one of the allowed values, throws a <code>SYNTAX_ERR</code>
- exception.</p>
+ <code>TYPE_MISMATCH_ERR</code> exception. If the image has no
+ image data, throws an <code>INVALID_STATE_ERR</code> exception. If
+ the second argument isn't one of the allowed values, throws a
+ <code>SYNTAX_ERR</code> exception. If the image isn't yet fully
+ decoded, then the method returns null.</p>
</dd>
@@ -28359,11 +28359,11 @@
<p>If the first argument isn't an <code>img</code>,
<code>canvas</code>, or <code>video</code> element, throws a
- <code>TYPE_MISMATCH_ERR</code> exception. If the image is not
- fully decoded yet, or has no image data, throws an
- <code>INVALID_STATE_ERR</code> exception. If the second argument
- isn't one of the allowed values, throws a <code>SYNTAX_ERR</code>
- exception.</p>
+ <code>TYPE_MISMATCH_ERR</code> exception. If the image has no
+ image data, throws an <code>INVALID_STATE_ERR</code> exception. If
+ the second argument isn't one of the allowed values, throws a
+ <code>SYNTAX_ERR</code> exception. If the image isn't yet fully
+ decoded, then nothing is drawn.</p>
</dd>
More information about the Commit-Watchers
mailing list