Navigation Menu

Skip to content

Commit

Permalink
[] (0) Rendering: video poster frames preserve aspect ration and are …
Browse files Browse the repository at this point in the history
…centered. (credit: roc)

git-svn-id: http://svn.whatwg.org/webapps@3010 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 28, 2009
1 parent b3793fe commit 97f6224
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index
Expand Up @@ -62390,6 +62390,12 @@ fieldset {
changes, and are expected to disappear when the user does not need
them.</p>

<p>When a <code><a href=#video>video</a></code> element represents its poster frame,
the poster frame is expected to be rendered at the largest size that
maintains the poster frame's aspect ratio without being taller or
wider than the <code><a href=#video>video</a></code> element itself, and is expected to
be centered in the <code><a href=#video>video</a></code> element.</p>

<p class=note>Resizing <code><a href=#video>video</a></code> and <code><a href=#the-canvas-element>canvas</a></code>
elements does not interrupt video playback or clear the canvas.</p>

Expand Down
6 changes: 6 additions & 0 deletions source
Expand Up @@ -73284,6 +73284,12 @@ fieldset {
changes, and are expected to disappear when the user does not need
them.</p>

<p>When a <code>video</code> element represents its poster frame,
the poster frame is expected to be rendered at the largest size that
maintains the poster frame's aspect ratio without being taller or
wider than the <code>video</code> element itself, and is expected to
be centered in the <code>video</code> element.</p>

<p class="note">Resizing <code>video</code> and <code>canvas</code>
elements does not interrupt video playback or clear the canvas.</p>

Expand Down

0 comments on commit 97f6224

Please sign in to comment.