Skip to content

Commit

Permalink
[giow] (1) Fire a 'resize' event when loading a video, too.
Browse files Browse the repository at this point in the history
Affected topics: Video and Audio

git-svn-id: http://svn.whatwg.org/webapps@8364 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 17, 2013
1 parent 3339345 commit 86c0863
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
8 changes: 5 additions & 3 deletions complete.html
Expand Up @@ -26221,10 +26221,12 @@ <h5 id=loading-the-media-resource><span class=secno>4.7.10.5 </span>Loading the

<li>

<p>For <code><a href=#the-video-element>video</a></code> elements, set the <code title=dom-video-videoWidth><a href=#dom-video-videowidth>videoWidth</a></code> and <code title=dom-video-videoHeight><a href=#dom-video-videoheight>videoHeight</a></code> attributes.</p>
<p>For <code><a href=#the-video-element>video</a></code> elements, set the <code title=dom-video-videoWidth><a href=#dom-video-videowidth>videoWidth</a></code> and <code title=dom-video-videoHeight><a href=#dom-video-videoheight>videoHeight</a></code> attributes, and <a href=#queue-a-task>queue a task</a>
to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-resize><a href=#event-media-resize>resize</a></code> at
the <a href=#media-element>media element</a>.</p>

<p class=note>At this point, <code title=event-media-resize><a href=#event-media-resize>resize</a></code> events can
start firing.</p>
<p class=note>Further <code title=event-media-resize><a href=#event-media-resize>resize</a></code> events will be fired
if the dimensions subsequently change.</p>

</li>

Expand Down
8 changes: 5 additions & 3 deletions index
Expand Up @@ -26221,10 +26221,12 @@ interface <dfn id=htmlmediaelement>HTMLMediaElement</dfn> : <a href=#htmlelement

<li>

<p>For <code><a href=#the-video-element>video</a></code> elements, set the <code title=dom-video-videoWidth><a href=#dom-video-videowidth>videoWidth</a></code> and <code title=dom-video-videoHeight><a href=#dom-video-videoheight>videoHeight</a></code> attributes.</p>
<p>For <code><a href=#the-video-element>video</a></code> elements, set the <code title=dom-video-videoWidth><a href=#dom-video-videowidth>videoWidth</a></code> and <code title=dom-video-videoHeight><a href=#dom-video-videoheight>videoHeight</a></code> attributes, and <a href=#queue-a-task>queue a task</a>
to <a href=#fire-a-simple-event>fire a simple event</a> named <code title=event-media-resize><a href=#event-media-resize>resize</a></code> at
the <a href=#media-element>media element</a>.</p>

<p class=note>At this point, <code title=event-media-resize><a href=#event-media-resize>resize</a></code> events can
start firing.</p>
<p class=note>Further <code title=event-media-resize><a href=#event-media-resize>resize</a></code> events will be fired
if the dimensions subsequently change.</p>

</li>

Expand Down
8 changes: 5 additions & 3 deletions source
Expand Up @@ -27859,10 +27859,12 @@ interface <dfn>HTMLMediaElement</dfn> : <span>HTMLElement</span> {

<p>For <code>video</code> elements, set the <code
data-x="dom-video-videoWidth">videoWidth</code> and <code
data-x="dom-video-videoHeight">videoHeight</code> attributes.</p>
data-x="dom-video-videoHeight">videoHeight</code> attributes, and <span>queue a task</span>
to <span>fire a simple event</span> named <code data-x="event-media-resize">resize</code> at
the <span>media element</span>.</p>

<p class="note">At this point, <code data-x="event-media-resize">resize</code> events can
start firing.</p>
<p class="note">Further <code data-x="event-media-resize">resize</code> events will be fired
if the dimensions subsequently change.</p>

</li>

Expand Down

0 comments on commit 86c0863

Please sign in to comment.