Skip to content

Commit

Permalink
[e] (0) Clarify some hard-to-read prose about drawImage() with animat…
Browse files Browse the repository at this point in the history
…ed images.

git-svn-id: http://svn.whatwg.org/webapps@3407 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 14, 2009
1 parent 452a6d4 commit 9f5d5bb
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
18 changes: 10 additions & 8 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -23472,9 +23472,10 @@ idea from Mihai:
affected by the current transformation matrix.</p>

<p>When the <code title=dom-context-2d-createPattern><a href=#dom-context-2d-createpattern>createPattern()</a></code> method
is passed, as its <var title="">image</var> argument, an animated
image, the poster frame of the animation, or the first frame of the
animation if there is no poster frame, must be used.</p>
is passed an animated image as its <var title="">image</var>
argument, the user agent must use the poster frame of the animation,
or, if there is no poster frame, the first frame of the
animation.</p>
<!-- drawImage() has an equivalent paragraph -->

<p>When the <var title="">image</var> argument is an
Expand Down Expand Up @@ -24810,11 +24811,11 @@ v4DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-contex
back onto the canvas, so it is possible to copy parts of a canvas
onto overlapping parts of itself.</p>

<p>When the <code title=dom-context-2d-drawImage><a href=#dom-context-2d-drawimage>drawImage()</a></code> method is
passed, as its <var title="">image</var> argument, an
<code><a href=#htmlimageelement>HTMLImageElement</a></code> representing an animated image, the
poster frame of the animation, or the first frame of the animation
if there is no poster frame, must be used.</p>
<p>When the <code title=dom-context-2d-drawImage><a href=#dom-context-2d-drawimage>drawImage()</a></code> method
is passed an animated image as its <var title="">image</var>
argument, the user agent must use the poster frame of the animation,
or, if there is no poster frame, the first frame of the
animation.</p>
<!-- createPattern() has an equivalent paragraph -->

<p>When the <var title="">image</var> argument is an
Expand Down Expand Up @@ -71436,6 +71437,7 @@ time:empty { binding: <i title="">time</i>; }</pre>
Anders Carlsson,
Andreas<!-- mqmq87 -->,
Andrei Popescu,
Andr&eacute; E. Veltstra,
Andrew Clover,
Andrew Gove,
Andrew Sidwell,
Expand Down
18 changes: 10 additions & 8 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -25569,9 +25569,10 @@ idea from Mihai:

<p>When the <code
title="dom-context-2d-createPattern">createPattern()</code> method
is passed, as its <var title="">image</var> argument, an animated
image, the poster frame of the animation, or the first frame of the
animation if there is no poster frame, must be used.</p>
is passed an animated image as its <var title="">image</var>
argument, the user agent must use the poster frame of the animation,
or, if there is no poster frame, the first frame of the
animation.</p>
<!-- drawImage() has an equivalent paragraph -->

<p>When the <var title="">image</var> argument is an
Expand Down Expand Up @@ -27155,11 +27156,11 @@ v4DVT (also check for '- -' bits in the part above) -->
onto overlapping parts of itself.</p>

<p>When the <code
title="dom-context-2d-drawImage">drawImage()</code> method is
passed, as its <var title="">image</var> argument, an
<code>HTMLImageElement</code> representing an animated image, the
poster frame of the animation, or the first frame of the animation
if there is no poster frame, must be used.</p>
title="dom-context-2d-drawImage">drawImage()</code> method
is passed an animated image as its <var title="">image</var>
argument, the user agent must use the poster frame of the animation,
or, if there is no poster frame, the first frame of the
animation.</p>
<!-- createPattern() has an equivalent paragraph -->

<p>When the <var title="">image</var> argument is an
Expand Down Expand Up @@ -84276,6 +84277,7 @@ time:empty { binding: <i title="">time</i>; }</pre>
Anders Carlsson,
Andreas<!-- mqmq87 -->,
Andrei Popescu,
Andr&eacute; E. Veltstra,
Andrew Clover,
Andrew Gove,
Andrew Sidwell,
Expand Down

0 comments on commit 9f5d5bb

Please sign in to comment.