[html5] r8723 - [giow] (2) Fire 'change' when unselected a video track too. Fixing https://www.w [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Aug 28 11:49:28 PDT 2014


Author: ianh
Date: 2014-08-28 11:49:24 -0700 (Thu, 28 Aug 2014)
New Revision: 8723

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Fire 'change' when unselected a video track too.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=26095
Affected topics: Video and Audio

Modified: complete.html
===================================================================
--- complete.html	2014-08-27 23:12:36 UTC (rev 8722)
+++ complete.html	2014-08-28 18:49:24 UTC (rev 8723)
@@ -291,7 +291,7 @@
   </style><link rel=stylesheet href=status.css><body onload=init()>
   <header id=head class="head with-buttons">
    <p><a href=//www.whatwg.org/ class=logo><img src=/images/logo width=101 alt=WHATWG height=101></a></p>
-   <hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>27 August 2014</span></h2></hgroup>
+   <hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>28 August 2014</span></h2></hgroup>
    
    <nav>
     <div>
@@ -24145,15 +24145,16 @@
   <code id=audiotracklist-and-videotracklist-objects:videotrack-13><a href=#videotrack>VideoTrack</a></code> object.)</p>
 
   <p id=toggle-video-track>Whenever a track in a <code id=audiotracklist-and-videotracklist-objects:videotracklist-14><a href=#videotracklist>VideoTrackList</a></code> that was previously
-  not selected is selected, the user agent must <a href=#queue-a-task id=audiotracklist-and-videotracklist-objects:queue-a-task-2>queue a task</a> to <a href=#fire-a-simple-event id=audiotracklist-and-videotracklist-objects:fire-a-simple-event-2>fire a simple
+  not selected is selected, and whenever the selected track in a <code id=audiotracklist-and-videotracklist-objects:videotracklist-15><a href=#videotracklist>VideoTrackList</a></code> is
+  unselected without a new track being selected in its stead, the user agent must <a href=#queue-a-task id=audiotracklist-and-videotracklist-objects:queue-a-task-2>queue a task</a> to <a href=#fire-a-simple-event id=audiotracklist-and-videotracklist-objects:fire-a-simple-event-2>fire a simple
   event</a> named <code id=audiotracklist-and-videotracklist-objects:event-media-change-2><a href=#event-media-change>change</a></code> at the
-  <code id=audiotracklist-and-videotracklist-objects:videotracklist-15><a href=#videotracklist>VideoTrackList</a></code> object. This <a href=#concept-task id=audiotracklist-and-videotracklist-objects:concept-task>task</a> must be <a href=#queue-a-task id=audiotracklist-and-videotracklist-objects:queue-a-task-3>queued</a> before the <a href=#concept-task id=audiotracklist-and-videotracklist-objects:concept-task-2>task</a> that fires
+  <code id=audiotracklist-and-videotracklist-objects:videotracklist-16><a href=#videotracklist>VideoTrackList</a></code> object. This <a href=#concept-task id=audiotracklist-and-videotracklist-objects:concept-task>task</a> must be <a href=#queue-a-task id=audiotracklist-and-videotracklist-objects:queue-a-task-3>queued</a> before the <a href=#concept-task id=audiotracklist-and-videotracklist-objects:concept-task-2>task</a> that fires
   the <code id=audiotracklist-and-videotracklist-objects:event-media-resize><a href=#event-media-resize>resize</a></code> event, if any.</p>
 
   <hr>
 
   <p>The following are the <a href=#event-handlers id=audiotracklist-and-videotracklist-objects:event-handlers>event handlers</a> (and their corresponding <a href=#event-handler-event-type id=audiotracklist-and-videotracklist-objects:event-handler-event-type>event handler event types</a>) that must be supported, as <a href=#event-handler-idl-attributes id=audiotracklist-and-videotracklist-objects:event-handler-idl-attributes>event handler IDL attributes</a>,
-  by all objects implementing the <code id=audiotracklist-and-videotracklist-objects:audiotracklist-13><a href=#audiotracklist>AudioTrackList</a></code> and <code id=audiotracklist-and-videotracklist-objects:videotracklist-16><a href=#videotracklist>VideoTrackList</a></code>
+  by all objects implementing the <code id=audiotracklist-and-videotracklist-objects:audiotracklist-13><a href=#audiotracklist>AudioTrackList</a></code> and <code id=audiotracklist-and-videotracklist-objects:videotracklist-17><a href=#videotracklist>VideoTrackList</a></code>
   interfaces:</p>
 
   <table><thead><tr><th><a href=#event-handlers id=audiotracklist-and-videotracklist-objects:event-handlers-2>Event handler</a> <th><a href=#event-handler-event-type id=audiotracklist-and-videotracklist-objects:event-handler-event-type-2>Event handler event type</a>

Modified: index
===================================================================
--- index	2014-08-27 23:12:36 UTC (rev 8722)
+++ index	2014-08-28 18:49:24 UTC (rev 8723)
@@ -291,7 +291,7 @@
   </style><link rel=stylesheet href=status.css><body onload=init()>
   <header id=head class="head with-buttons">
    <p><a href=//www.whatwg.org/ class=logo><img src=/images/logo width=101 alt=WHATWG height=101></a></p>
-   <hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>27 August 2014</span></h2></hgroup>
+   <hgroup><h1 class=allcaps>HTML</h1><h2 id=living-standard-—-last-updated-[date:-01-jan-1901] class="no-num no-toc">Living Standard — Last Updated <span class=pubdate>28 August 2014</span></h2></hgroup>
    
    <nav>
     <div>
@@ -24145,15 +24145,16 @@
   <code id=audiotracklist-and-videotracklist-objects:videotrack-13><a href=#videotrack>VideoTrack</a></code> object.)</p>
 
   <p id=toggle-video-track>Whenever a track in a <code id=audiotracklist-and-videotracklist-objects:videotracklist-14><a href=#videotracklist>VideoTrackList</a></code> that was previously
-  not selected is selected, the user agent must <a href=#queue-a-task id=audiotracklist-and-videotracklist-objects:queue-a-task-2>queue a task</a> to <a href=#fire-a-simple-event id=audiotracklist-and-videotracklist-objects:fire-a-simple-event-2>fire a simple
+  not selected is selected, and whenever the selected track in a <code id=audiotracklist-and-videotracklist-objects:videotracklist-15><a href=#videotracklist>VideoTrackList</a></code> is
+  unselected without a new track being selected in its stead, the user agent must <a href=#queue-a-task id=audiotracklist-and-videotracklist-objects:queue-a-task-2>queue a task</a> to <a href=#fire-a-simple-event id=audiotracklist-and-videotracklist-objects:fire-a-simple-event-2>fire a simple
   event</a> named <code id=audiotracklist-and-videotracklist-objects:event-media-change-2><a href=#event-media-change>change</a></code> at the
-  <code id=audiotracklist-and-videotracklist-objects:videotracklist-15><a href=#videotracklist>VideoTrackList</a></code> object. This <a href=#concept-task id=audiotracklist-and-videotracklist-objects:concept-task>task</a> must be <a href=#queue-a-task id=audiotracklist-and-videotracklist-objects:queue-a-task-3>queued</a> before the <a href=#concept-task id=audiotracklist-and-videotracklist-objects:concept-task-2>task</a> that fires
+  <code id=audiotracklist-and-videotracklist-objects:videotracklist-16><a href=#videotracklist>VideoTrackList</a></code> object. This <a href=#concept-task id=audiotracklist-and-videotracklist-objects:concept-task>task</a> must be <a href=#queue-a-task id=audiotracklist-and-videotracklist-objects:queue-a-task-3>queued</a> before the <a href=#concept-task id=audiotracklist-and-videotracklist-objects:concept-task-2>task</a> that fires
   the <code id=audiotracklist-and-videotracklist-objects:event-media-resize><a href=#event-media-resize>resize</a></code> event, if any.</p>
 
   <hr>
 
   <p>The following are the <a href=#event-handlers id=audiotracklist-and-videotracklist-objects:event-handlers>event handlers</a> (and their corresponding <a href=#event-handler-event-type id=audiotracklist-and-videotracklist-objects:event-handler-event-type>event handler event types</a>) that must be supported, as <a href=#event-handler-idl-attributes id=audiotracklist-and-videotracklist-objects:event-handler-idl-attributes>event handler IDL attributes</a>,
-  by all objects implementing the <code id=audiotracklist-and-videotracklist-objects:audiotracklist-13><a href=#audiotracklist>AudioTrackList</a></code> and <code id=audiotracklist-and-videotracklist-objects:videotracklist-16><a href=#videotracklist>VideoTrackList</a></code>
+  by all objects implementing the <code id=audiotracklist-and-videotracklist-objects:audiotracklist-13><a href=#audiotracklist>AudioTrackList</a></code> and <code id=audiotracklist-and-videotracklist-objects:videotracklist-17><a href=#videotracklist>VideoTrackList</a></code>
   interfaces:</p>
 
   <table><thead><tr><th><a href=#event-handlers id=audiotracklist-and-videotracklist-objects:event-handlers-2>Event handler</a> <th><a href=#event-handler-event-type id=audiotracklist-and-videotracklist-objects:event-handler-event-type-2>Event handler event type</a>

Modified: source
===================================================================
--- source	2014-08-27 23:12:36 UTC (rev 8722)
+++ source	2014-08-28 18:49:24 UTC (rev 8723)
@@ -31131,7 +31131,8 @@
   <code>VideoTrack</code> object.)</p>
 
   <p id="toggle-video-track">Whenever a track in a <code>VideoTrackList</code> that was previously
-  not selected is selected, the user agent must <span>queue a task</span> to <span>fire a simple
+  not selected is selected, and whenever the selected track in a <code>VideoTrackList</code> is
+  unselected without a new track being selected in its stead, the user agent must <span>queue a task</span> to <span>fire a simple
   event</span> named <code data-x="event-media-change">change</code> at the
   <code>VideoTrackList</code> object. This <span data-x="concept-task">task</span> must be <span
   data-x="queue a task">queued</span> before the <span data-x="concept-task">task</span> that fires



More information about the Commit-Watchers mailing list