Skip to content

Commit

Permalink
[e] (0) intro text for drawImage() had incorrect exception info.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9114

git-svn-id: http://svn.whatwg.org/webapps@4883 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Mar 29, 2010
1 parent aabe337 commit e27bf16
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
7 changes: 4 additions & 3 deletions complete.html
Expand Up @@ -27978,9 +27978,10 @@ <h6 id=images><span class=secno>4.8.10.1.11 </span>Images</h6>
<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 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>
the numeric arguments don't make sense (e.g. the destination is a
0&times;0 rectangle), throws an <code><a href=#index_size_err>INDEX_SIZE_ERR</a></code>
exception. If the image isn't yet fully decoded, then nothing is
drawn.</p>

</dd>

Expand Down
7 changes: 4 additions & 3 deletions index
Expand Up @@ -27879,9 +27879,10 @@ v5DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-contex
<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 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>
the numeric arguments don't make sense (e.g. the destination is a
0&times;0 rectangle), throws an <code><a href=#index_size_err>INDEX_SIZE_ERR</a></code>
exception. If the image isn't yet fully decoded, then nothing is
drawn.</p>

</dd>

Expand Down
7 changes: 4 additions & 3 deletions source
Expand Up @@ -30491,9 +30491,10 @@ v5DVT (also check for '- -' bits in the part above) -->
<code>canvas</code>, or <code>video</code> element, throws a
<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>
the numeric arguments don't make sense (e.g. the destination is a
0&times;0 rectangle), throws an <code>INDEX_SIZE_ERR</code>
exception. If the image isn't yet fully decoded, then nothing is
drawn.</p>

</dd>

Expand Down

0 comments on commit e27bf16

Please sign in to comment.