Skip to content

Commit

Permalink
[e] (0) Remove this comment for consistency.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=19921
Affected topics: Canvas

git-svn-id: http://svn.whatwg.org/webapps@7571 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 7, 2012
1 parent e7805da commit f9a4993
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
8 changes: 3 additions & 5 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -38821,11 +38821,9 @@ <h6 id=drawing-images><span class=secno>4.8.11.2.14 </span>Drawing images</h6>

<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>

Expand Down
8 changes: 3 additions & 5 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -38821,11 +38821,9 @@ v6DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-contex

<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>

Expand Down
8 changes: 3 additions & 5 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -45363,11 +45363,9 @@ v6DVT (also check for '- -' bits in the part above) -->

<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>

Expand Down

0 comments on commit f9a4993

Please sign in to comment.