[html5] r8623 - [giow] (3) Try to clean up the mess around when 'change' events are fired for au [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu May 8 15:01:06 PDT 2014


Author: ianh
Date: 2014-05-08 15:01:02 -0700 (Thu, 08 May 2014)
New Revision: 8623

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Try to clean up the mess around when 'change' events are fired for audio and video tracks
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24977
Affected topics: HTML, Video and Audio

Modified: complete.html
===================================================================
--- complete.html	2014-05-08 20:44:08 UTC (rev 8622)
+++ complete.html	2014-05-08 22:01:02 UTC (rev 8623)
@@ -1681,7 +1681,7 @@
 
   <p><i>This section is non-normative.</i></p>
 
-  <p>HTML has a wide number of extensibility mechanisms that can be used for adding semantics in a
+  <p>HTML has a wide array of extensibility mechanisms that can be used for adding semantics in a
   safe manner:</p>
 
   <ul><li>Authors can use the <code title=attr-class><a href=#classes>class</a></code> attribute to extend elements,
@@ -26221,6 +26221,30 @@
        <li><p>Update the <a href=#media-element>media element</a>'s <code title=dom-media-audioTracks><a href=#dom-media-audiotracks>audioTracks</a></code> attribute's <code><a href=#audiotracklist>AudioTrackList</a></code>
        object with the new <code><a href=#audiotrack>AudioTrack</a></code> object.</li>
 
+       <li><p>Let <var title="">enable</var> be <i>unknown</i>.</li>
+
+       <li>
+
+        <p>If either the <a href=#media-resource>media resource</a> or the address of the <var title="">current
+        media resource</var> indicate a particular set of audio tracks to enable, or if the user
+        agent has information that would facilitate the selection of specific audio tracks to
+        improve the user's experience, then: if this audio track is one of the ones to enable, then
+        set <var title="">enable</var> to <i>true</i>, otherwise, set <var title="">enable</var>
+        to <i>false</i>.</p>
+
+        <p class=example>This could be triggered by <cite>Media Fragments URI</cite> fragment
+        identifier syntax, but it could also be triggered e.g. by the user agent selecting a 5.1
+        surround sound audio track over a stereo audio track. <a href=#refsMEDIAFRAG>[MEDIAFRAG]</a></p>
+
+       </li>
+
+       <li><p>If <var title="">enable</var> is still <i>unknown</i>, then, if the <a href=#media-element>media
+       element</a> does not yet have a selected audio track, then set <var title="">enable</var>
+       to <i>true</i>, otherwise, set <var title="">enable</var> to <i>false</i>.</li>
+
+       <li><p>If <var title="">enable</var> is <i>true</i>, then enable this audio track,
+       otherwise, do not enable this audio track.</li>
+
        <li><p><a href=#concept-event-fire title=concept-event-fire>Fire</a> a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event with the name <code title=event-media-addtrack><a href=#event-media-addtrack>addtrack</a></code>, that does not bubble and is not cancelable, and
        that uses the <code><a href=#trackevent>TrackEvent</a></code> interface, with the <code title=dom-TrackEvent-track><a href=#dom-trackevent-track>track</a></code> attribute initialized to the new
        <code><a href=#audiotrack>AudioTrack</a></code> object, at this <code><a href=#audiotracklist>AudioTrackList</a></code> object.</li>
@@ -26238,6 +26262,30 @@
        <li><p>Update the <a href=#media-element>media element</a>'s <code title=dom-media-videoTracks><a href=#dom-media-videotracks>videoTracks</a></code> attribute's <code><a href=#videotracklist>VideoTrackList</a></code>
        object with the new <code><a href=#videotrack>VideoTrack</a></code> object.</li>
 
+       <li><p>Let <var title="">enable</var> be <i>unknown</i>.</li>
+
+       <li>
+
+        <p>If either the <a href=#media-resource>media resource</a> or the address of the <var title="">current
+        media resource</var> indicate a particular set of video tracks to enable, or if the user
+        agent has information that would facilitate the selection of specific video tracks to
+        improve the user's experience, then: if this video track is the first such video track, then
+        set <var title="">enable</var> to <i>true</i>, otherwise, set <var title="">enable</var>
+        to <i>false</i>.</p>
+
+        <p class=example>This could again be triggered by <cite>Media Fragments URI</cite>
+        fragment identifier syntax.</p>
+
+       </li>
+
+       <li><p>If <var title="">enable</var> is still <i>unknown</i>, then, if the <a href=#media-element>media
+       element</a> does not yet have a selected video track, then set <var title="">enable</var>
+       to <i>true</i>, otherwise, set <var title="">enable</var> to <i>false</i>.</li>
+
+       <li><p>If <var title="">enable</var> is <i>true</i>, then select this track and unselect any
+       previously selected video tracks, otherwise, do not select this video track. If other tracks
+       are unselected, then <a href=#toggle-video-track>a <code title=event-media-change>change</code> event will be fired.</a></li>
+
        <li><p><a href=#concept-event-fire title=concept-event-fire>Fire</a> a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event with the name <code title=event-media-addtrack><a href=#event-media-addtrack>addtrack</a></code>, that does not bubble and is not cancelable, and that
        uses the <code><a href=#trackevent>TrackEvent</a></code> interface, with the <code title=dom-TrackEvent-track><a href=#dom-trackevent-track>track</a></code> attribute initialized to the new
        <code><a href=#videotrack>VideoTrack</a></code> object, at this <code><a href=#videotracklist>VideoTrackList</a></code> object.</li>
@@ -26327,22 +26375,12 @@
 
        </li>
 
-       <li>
+       <li><p>If there is no enabled audio track, then enable an audio track. This <a href=#toggle-audio-track>will cause a <code title=event-media-change>change</code> event
+       to be fired</a>.</li>
 
-<!--CLEANUP-->
-        <p>If either the <a href=#media-resource>media resource</a> or the address of the <var title="">current
-        media resource</var> indicate a particular set of audio or video tracks to enable,
-        or if the user agent has information that would enable it to select specific tracks to improve the user's experience, then the
-        relevant audio tracks must be enabled in the element's <code title=dom-media-audioTracks><a href=#dom-media-audiotracks>audioTracks</a></code> object, and, of the relevant video tracks,
-        the one that is listed first in the element's <code title=dom-media-videoTracks><a href=#dom-media-videotracks>videoTracks</a></code> object must be selected. All other tracks
-        must be disabled.</p>
+       <li><p>If there is no selected video track, then select a video track. This <a href=#toggle-video-track>will cause a <code title=event-media-change>change</code> event
+       to be fired</a>.</li>
 
-        <p class=example>This could again be triggered by <cite>Media Fragments URI</cite>
-        fragment identifier syntax, but it could also be triggered e.g. by the user agent selecting
-        a 5.1 surround sound audio track over a stereo audio track. <a href=#refsMEDIAFRAG>[MEDIAFRAG]</a></p>
-
-       </li>
-
        <li><p>If the <a href=#media-element>media element</a> has a <a href=#current-media-controller>current media controller</a>, then:
        if <var title="">jumped</var> is true and the <a href=#initial-playback-position>initial playback position</a>,
        relative to the <a href=#current-media-controller>current media controller</a>'s timeline, is greater than the
@@ -28216,7 +28254,8 @@
   longer in an <code><a href=#audiotracklist>AudioTrackList</a></code> object, then the track being enabled or disabled has no
   effect beyond changing the value of the attribute on the <code><a href=#audiotrack>AudioTrack</a></code> object.)</p>
 
-  <p>Whenever an audio track in an <code><a href=#audiotracklist>AudioTrackList</a></code> is enabled or disabled, the user
+<!--CLEANUP-->
+  <p id=toggle-audio-track>Whenever an audio track in an <code><a href=#audiotracklist>AudioTrackList</a></code> that was disabled is enabled, and whenever one that was enabled is disabled, the user
   agent must <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-change><a href=#event-media-change>change</a></code> at the <code><a href=#audiotracklist>AudioTrackList</a></code> object.</p>
 
   <p>The <dfn id=dom-videotracklist-selectedindex title=dom-VideoTrackList-selectedIndex><code>VideoTrackList.selectedIndex</code></dfn> attribute
@@ -28232,7 +28271,7 @@
   being selected or unselected has no effect beyond changing the value of the attribute on the
   <code><a href=#videotrack>VideoTrack</a></code> object.)</p>
 
-  <p>Whenever a track in a <code><a href=#videotracklist>VideoTrackList</a></code> that was previously not selected is selected,
+  <p id=toggle-video-track>Whenever a track in a <code><a href=#videotracklist>VideoTrackList</a></code> that was previously not selected is selected,
   the user agent must <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-change><a href=#event-media-change>change</a></code> at the <code><a href=#videotracklist>VideoTrackList</a></code> object. This <a href=#concept-task title=concept-task>task</a> must be <a href=#queue-a-task title="queue a task">queued</a> before the
   <a href=#concept-task title=concept-task>task</a> that fires the <code title=event-media-resize><a href=#event-media-resize>resize</a></code> event, if any.</p>
 

Modified: index
===================================================================
--- index	2014-05-08 20:44:08 UTC (rev 8622)
+++ index	2014-05-08 22:01:02 UTC (rev 8623)
@@ -1681,7 +1681,7 @@
 
   <p><i>This section is non-normative.</i></p>
 
-  <p>HTML has a wide number of extensibility mechanisms that can be used for adding semantics in a
+  <p>HTML has a wide array of extensibility mechanisms that can be used for adding semantics in a
   safe manner:</p>
 
   <ul><li>Authors can use the <code title=attr-class><a href=#classes>class</a></code> attribute to extend elements,
@@ -26221,6 +26221,30 @@
        <li><p>Update the <a href=#media-element>media element</a>'s <code title=dom-media-audioTracks><a href=#dom-media-audiotracks>audioTracks</a></code> attribute's <code><a href=#audiotracklist>AudioTrackList</a></code>
        object with the new <code><a href=#audiotrack>AudioTrack</a></code> object.</li>
 
+       <li><p>Let <var title="">enable</var> be <i>unknown</i>.</li>
+
+       <li>
+
+        <p>If either the <a href=#media-resource>media resource</a> or the address of the <var title="">current
+        media resource</var> indicate a particular set of audio tracks to enable, or if the user
+        agent has information that would facilitate the selection of specific audio tracks to
+        improve the user's experience, then: if this audio track is one of the ones to enable, then
+        set <var title="">enable</var> to <i>true</i>, otherwise, set <var title="">enable</var>
+        to <i>false</i>.</p>
+
+        <p class=example>This could be triggered by <cite>Media Fragments URI</cite> fragment
+        identifier syntax, but it could also be triggered e.g. by the user agent selecting a 5.1
+        surround sound audio track over a stereo audio track. <a href=#refsMEDIAFRAG>[MEDIAFRAG]</a></p>
+
+       </li>
+
+       <li><p>If <var title="">enable</var> is still <i>unknown</i>, then, if the <a href=#media-element>media
+       element</a> does not yet have a selected audio track, then set <var title="">enable</var>
+       to <i>true</i>, otherwise, set <var title="">enable</var> to <i>false</i>.</li>
+
+       <li><p>If <var title="">enable</var> is <i>true</i>, then enable this audio track,
+       otherwise, do not enable this audio track.</li>
+
        <li><p><a href=#concept-event-fire title=concept-event-fire>Fire</a> a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event with the name <code title=event-media-addtrack><a href=#event-media-addtrack>addtrack</a></code>, that does not bubble and is not cancelable, and
        that uses the <code><a href=#trackevent>TrackEvent</a></code> interface, with the <code title=dom-TrackEvent-track><a href=#dom-trackevent-track>track</a></code> attribute initialized to the new
        <code><a href=#audiotrack>AudioTrack</a></code> object, at this <code><a href=#audiotracklist>AudioTrackList</a></code> object.</li>
@@ -26238,6 +26262,30 @@
        <li><p>Update the <a href=#media-element>media element</a>'s <code title=dom-media-videoTracks><a href=#dom-media-videotracks>videoTracks</a></code> attribute's <code><a href=#videotracklist>VideoTrackList</a></code>
        object with the new <code><a href=#videotrack>VideoTrack</a></code> object.</li>
 
+       <li><p>Let <var title="">enable</var> be <i>unknown</i>.</li>
+
+       <li>
+
+        <p>If either the <a href=#media-resource>media resource</a> or the address of the <var title="">current
+        media resource</var> indicate a particular set of video tracks to enable, or if the user
+        agent has information that would facilitate the selection of specific video tracks to
+        improve the user's experience, then: if this video track is the first such video track, then
+        set <var title="">enable</var> to <i>true</i>, otherwise, set <var title="">enable</var>
+        to <i>false</i>.</p>
+
+        <p class=example>This could again be triggered by <cite>Media Fragments URI</cite>
+        fragment identifier syntax.</p>
+
+       </li>
+
+       <li><p>If <var title="">enable</var> is still <i>unknown</i>, then, if the <a href=#media-element>media
+       element</a> does not yet have a selected video track, then set <var title="">enable</var>
+       to <i>true</i>, otherwise, set <var title="">enable</var> to <i>false</i>.</li>
+
+       <li><p>If <var title="">enable</var> is <i>true</i>, then select this track and unselect any
+       previously selected video tracks, otherwise, do not select this video track. If other tracks
+       are unselected, then <a href=#toggle-video-track>a <code title=event-media-change>change</code> event will be fired.</a></li>
+
        <li><p><a href=#concept-event-fire title=concept-event-fire>Fire</a> a <a href=#concept-events-trusted title=concept-events-trusted>trusted</a> event with the name <code title=event-media-addtrack><a href=#event-media-addtrack>addtrack</a></code>, that does not bubble and is not cancelable, and that
        uses the <code><a href=#trackevent>TrackEvent</a></code> interface, with the <code title=dom-TrackEvent-track><a href=#dom-trackevent-track>track</a></code> attribute initialized to the new
        <code><a href=#videotrack>VideoTrack</a></code> object, at this <code><a href=#videotracklist>VideoTrackList</a></code> object.</li>
@@ -26327,22 +26375,12 @@
 
        </li>
 
-       <li>
+       <li><p>If there is no enabled audio track, then enable an audio track. This <a href=#toggle-audio-track>will cause a <code title=event-media-change>change</code> event
+       to be fired</a>.</li>
 
-<!--CLEANUP-->
-        <p>If either the <a href=#media-resource>media resource</a> or the address of the <var title="">current
-        media resource</var> indicate a particular set of audio or video tracks to enable,
-        or if the user agent has information that would enable it to select specific tracks to improve the user's experience, then the
-        relevant audio tracks must be enabled in the element's <code title=dom-media-audioTracks><a href=#dom-media-audiotracks>audioTracks</a></code> object, and, of the relevant video tracks,
-        the one that is listed first in the element's <code title=dom-media-videoTracks><a href=#dom-media-videotracks>videoTracks</a></code> object must be selected. All other tracks
-        must be disabled.</p>
+       <li><p>If there is no selected video track, then select a video track. This <a href=#toggle-video-track>will cause a <code title=event-media-change>change</code> event
+       to be fired</a>.</li>
 
-        <p class=example>This could again be triggered by <cite>Media Fragments URI</cite>
-        fragment identifier syntax, but it could also be triggered e.g. by the user agent selecting
-        a 5.1 surround sound audio track over a stereo audio track. <a href=#refsMEDIAFRAG>[MEDIAFRAG]</a></p>
-
-       </li>
-
        <li><p>If the <a href=#media-element>media element</a> has a <a href=#current-media-controller>current media controller</a>, then:
        if <var title="">jumped</var> is true and the <a href=#initial-playback-position>initial playback position</a>,
        relative to the <a href=#current-media-controller>current media controller</a>'s timeline, is greater than the
@@ -28216,7 +28254,8 @@
   longer in an <code><a href=#audiotracklist>AudioTrackList</a></code> object, then the track being enabled or disabled has no
   effect beyond changing the value of the attribute on the <code><a href=#audiotrack>AudioTrack</a></code> object.)</p>
 
-  <p>Whenever an audio track in an <code><a href=#audiotracklist>AudioTrackList</a></code> is enabled or disabled, the user
+<!--CLEANUP-->
+  <p id=toggle-audio-track>Whenever an audio track in an <code><a href=#audiotracklist>AudioTrackList</a></code> that was disabled is enabled, and whenever one that was enabled is disabled, the user
   agent must <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-change><a href=#event-media-change>change</a></code> at the <code><a href=#audiotracklist>AudioTrackList</a></code> object.</p>
 
   <p>The <dfn id=dom-videotracklist-selectedindex title=dom-VideoTrackList-selectedIndex><code>VideoTrackList.selectedIndex</code></dfn> attribute
@@ -28232,7 +28271,7 @@
   being selected or unselected has no effect beyond changing the value of the attribute on the
   <code><a href=#videotrack>VideoTrack</a></code> object.)</p>
 
-  <p>Whenever a track in a <code><a href=#videotracklist>VideoTrackList</a></code> that was previously not selected is selected,
+  <p id=toggle-video-track>Whenever a track in a <code><a href=#videotracklist>VideoTrackList</a></code> that was previously not selected is selected,
   the user agent must <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-change><a href=#event-media-change>change</a></code> at the <code><a href=#videotracklist>VideoTrackList</a></code> object. This <a href=#concept-task title=concept-task>task</a> must be <a href=#queue-a-task title="queue a task">queued</a> before the
   <a href=#concept-task title=concept-task>task</a> that fires the <code title=event-media-resize><a href=#event-media-resize>resize</a></code> event, if any.</p>
 

Modified: source
===================================================================
--- source	2014-05-08 20:44:08 UTC (rev 8622)
+++ source	2014-05-08 22:01:02 UTC (rev 8623)
@@ -1,4 +1,4 @@
-<!-- EDITOR NOTES  -*- mode: Text; fill-column: 100 -*-
+s<!-- EDITOR NOTES  -*- mode: Text; fill-column: 100 -*-
  !
  !   Adding a new element involves editing the following sections:
  !    - section for the element itself
@@ -262,7 +262,7 @@
 
   <!--END dev-html--><p><i>This section is non-normative.</i></p><!--START dev-html-->
 
-  <p>HTML has a wide number of extensibility mechanisms that can be used for adding semantics in a
+  <p>HTML has a wide array of extensibility mechanisms that can be used for adding semantics in a
   safe manner:</p>
 
   <ul>
@@ -26668,6 +26668,31 @@
        data-x="dom-media-audioTracks">audioTracks</code> attribute's <code>AudioTrackList</code>
        object with the new <code>AudioTrack</code> object.</p></li>
 
+       <li><p>Let <var data-x="">enable</var> be <i>unknown</i>.</p></li>
+
+       <li>
+
+        <p>If either the <span>media resource</span> or the address of the <var data-x="">current
+        media resource</var> indicate a particular set of audio tracks to enable, or if the user
+        agent has information that would facilitate the selection of specific audio tracks to
+        improve the user's experience, then: if this audio track is one of the ones to enable, then
+        set <var data-x="">enable</var> to <i>true</i>, otherwise, set <var data-x="">enable</var>
+        to <i>false</i>.</p>
+
+        <p class="example">This could be triggered by <cite>Media Fragments URI</cite> fragment
+        identifier syntax, but it could also be triggered e.g. by the user agent selecting a 5.1
+        surround sound audio track over a stereo audio track. <a
+        href="#refsMEDIAFRAG">[MEDIAFRAG]</a></p>
+
+       </li>
+
+       <li><p>If <var data-x="">enable</var> is still <i>unknown</i>, then, if the <span>media
+       element</span> does not yet have a selected audio track, then set <var data-x="">enable</var>
+       to <i>true</i>, otherwise, set <var data-x="">enable</var> to <i>false</i>.</p></li>
+
+       <li><p>If <var data-x="">enable</var> is <i>true</i>, then enable this audio track,
+       otherwise, do not enable this audio track.</p></li>
+
        <li><p><span data-x="concept-event-fire">Fire</span> a <span
        data-x="concept-events-trusted">trusted</span> event with the name <code
        data-x="event-media-addtrack">addtrack</code>, that does not bubble and is not cancelable, and
@@ -26693,6 +26718,31 @@
        data-x="dom-media-videoTracks">videoTracks</code> attribute's <code>VideoTrackList</code>
        object with the new <code>VideoTrack</code> object.</p></li>
 
+       <li><p>Let <var data-x="">enable</var> be <i>unknown</i>.</p></li>
+
+       <li>
+
+        <p>If either the <span>media resource</span> or the address of the <var data-x="">current
+        media resource</var> indicate a particular set of video tracks to enable, or if the user
+        agent has information that would facilitate the selection of specific video tracks to
+        improve the user's experience, then: if this video track is the first such video track, then
+        set <var data-x="">enable</var> to <i>true</i>, otherwise, set <var data-x="">enable</var>
+        to <i>false</i>.</p>
+
+        <p class="example">This could again be triggered by <cite>Media Fragments URI</cite>
+        fragment identifier syntax.</p>
+
+       </li>
+
+       <li><p>If <var data-x="">enable</var> is still <i>unknown</i>, then, if the <span>media
+       element</span> does not yet have a selected video track, then set <var data-x="">enable</var>
+       to <i>true</i>, otherwise, set <var data-x="">enable</var> to <i>false</i>.</p></li>
+
+       <li><p>If <var data-x="">enable</var> is <i>true</i>, then select this track and unselect any
+       previously selected video tracks, otherwise, do not select this video track. If other tracks
+       are unselected, then <a href="#toggle-video-track">a <code
+       data-x="event-media-change">change</code> event will be fired.</a></p></li>
+
        <li><p><span data-x="concept-event-fire">Fire</span> a <span
        data-x="concept-events-trusted">trusted</span> event with the name <code
        data-x="event-media-addtrack">addtrack</code>, that does not bubble and is not cancelable, and that
@@ -26797,25 +26847,14 @@
 
        </li>
 
-       <li>
+       <li><p>If there is no enabled audio track, then enable an audio track. This <a
+       href="#toggle-audio-track">will cause a <code data-x="event-media-change">change</code> event
+       to be fired</a>.</p></li>
 
-<!--CLEANUP-->
-        <p>If either the <span>media resource</span> or the address of the <var data-x="">current
-        media resource</var> indicate a particular set of audio or video tracks to enable,
-        or if the user agent has information that would enable it to select specific tracks to improve the user's experience, then the
-        relevant audio tracks must be enabled in the element's <code
-        data-x="dom-media-audioTracks">audioTracks</code> object, and, of the relevant video tracks,
-        the one that is listed first in the element's <code
-        data-x="dom-media-videoTracks">videoTracks</code> object must be selected. All other tracks
-        must be disabled.</p>
+       <li><p>If there is no selected video track, then select a video track. This <a
+       href="#toggle-video-track">will cause a <code data-x="event-media-change">change</code> event
+       to be fired</a>.</p></li>
 
-        <p class="example">This could again be triggered by <cite>Media Fragments URI</cite>
-        fragment identifier syntax, but it could also be triggered e.g. by the user agent selecting
-        a 5.1 surround sound audio track over a stereo audio track. <a
-        href="#refsMEDIAFRAG">[MEDIAFRAG]</a></p>
-
-       </li>
-
        <li><p>If the <span>media element</span> has a <span>current media controller</span>, then:
        if <var data-x="">jumped</var> is true and the <span>initial playback position</span>,
        relative to the <span>current media controller</span>'s timeline, is greater than the
@@ -29026,7 +29065,8 @@
   longer in an <code>AudioTrackList</code> object, then the track being enabled or disabled has no
   effect beyond changing the value of the attribute on the <code>AudioTrack</code> object.)</p>
 
-  <p>Whenever an audio track in an <code>AudioTrackList</code> is enabled or disabled, the user
+<!--CLEANUP-->
+  <p id="toggle-audio-track">Whenever an audio track in an <code>AudioTrackList</code> that was disabled is enabled, and whenever one that was enabled is disabled, 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>AudioTrackList</code> object.</p>
 
@@ -29044,7 +29084,7 @@
   being selected or unselected has no effect beyond changing the value of the attribute on the
   <code>VideoTrack</code> object.)</p>
 
-  <p>Whenever a track in a <code>VideoTrackList</code> that was previously not selected is selected,
+  <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 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



More information about the Commit-Watchers mailing list