[html5] r8364 - [giow] (1) Fire a 'resize' event when loading a video, too. Affected topics: Vid [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Dec 17 14:14:15 PST 2013


Author: ianh
Date: 2013-12-17 14:14:14 -0800 (Tue, 17 Dec 2013)
New Revision: 8364

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Fire a 'resize' event when loading a video, too.
Affected topics: Video and Audio

Modified: complete.html
===================================================================
--- complete.html	2013-12-17 18:08:35 UTC (rev 8363)
+++ complete.html	2013-12-17 22:14:14 UTC (rev 8364)
@@ -26221,10 +26221,12 @@
 
        <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>
 

Modified: index
===================================================================
--- index	2013-12-17 18:08:35 UTC (rev 8363)
+++ index	2013-12-17 22:14:14 UTC (rev 8364)
@@ -26221,10 +26221,12 @@
 
        <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>
 

Modified: source
===================================================================
--- source	2013-12-17 18:08:35 UTC (rev 8363)
+++ source	2013-12-17 22:14:14 UTC (rev 8364)
@@ -27859,10 +27859,12 @@
 
         <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>
 




More information about the Commit-Watchers mailing list