Skip to content
Permalink
Browse files
[e] (0) fix old prose
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=19921
Affected topics: Canvas, DOM APIs

git-svn-id: http://svn.whatwg.org/webapps@7569 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 5, 2012
1 parent 6e52ee9 commit fa8d6fe31b3db0c56b3875c977e1e43f49808f6e
Showing with 15 additions and 24 deletions.
  1. +5 −8 complete.html
  2. +5 −8 index
  3. +5 −8 source
@@ -4089,7 +4089,6 @@ <h4 id=dependencies><span class=secno>2.2.2 </span>Dependencies</h4>
<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 @@ <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><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>

13 index
@@ -4089,7 +4089,6 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<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 @@ 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><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>

13 source
@@ -2980,7 +2980,6 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
<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 @@ 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>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>

0 comments on commit fa8d6fe

Please sign in to comment.