[html5] r8012 - [giow] (1) Clarify how autoplay and subtitles interact. Mostly editorial cleanup [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jul 2 15:22:26 PDT 2013


Author: ianh
Date: 2013-07-02 15:22:25 -0700 (Tue, 02 Jul 2013)
New Revision: 8012

Modified:
   complete.html
   index
   source
Log:
[giow] (1) Clarify how autoplay and subtitles interact. Mostly editorial cleanup, though I change a 'false' to a 'true', so not entirely.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=16920
Affected topics: Video and Audio

Modified: complete.html
===================================================================
--- complete.html	2013-07-02 22:00:22 UTC (rev 8011)
+++ complete.html	2013-07-02 22:22:25 UTC (rev 8012)
@@ -28873,13 +28873,18 @@
       has an <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code> attribute specified, and the
       <a href=#media-element>media element</a>'s <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active sandboxing flag set</a>
       does not have the <a href=#sandboxed-automatic-features-browsing-context-flag>sandboxed automatic features browsing context flag</a> set, then
-      the user agent may also set the <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute to
-      false, <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-play><a href=#event-media-play>play</a></code> at the element, <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-playing><a href=#event-media-playing>playing</a></code> at the element, and
-      then, if the element's <a href=#show-poster-flag>show poster flag</a> to false, first set it to false and then
-      run the <i><a href=#time-marches-on>time marches on</a></i> steps.</p>
+      the user agent may also run the following substeps:</p>
 
-      <p class=note>User agents do not need to support autoplay, and it is suggested that user
+      <ol><li>Set the <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute to false.</li>
+
+       <li>If the element's <a href=#show-poster-flag>show poster flag</a> is true, set it to false and run the
+       <i><a href=#time-marches-on>time marches on</a></i> steps.</li>
+
+       <li><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-play><a href=#event-media-play>play</a></code> at the element.</li>
+
+       <li><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-playing><a href=#event-media-playing>playing</a></code> at the element.</li>
+
+      </ol><p class=note>User agents do not need to support autoplay, and it is suggested that user
       agents honor user preferences on the matter. Authors are urged to use the <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code> attribute rather than using script to force the
       video to play, so as to allow the user to override the behavior if so desired.</p>
 

Modified: index
===================================================================
--- index	2013-07-02 22:00:22 UTC (rev 8011)
+++ index	2013-07-02 22:22:25 UTC (rev 8012)
@@ -28873,13 +28873,18 @@
       has an <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code> attribute specified, and the
       <a href=#media-element>media element</a>'s <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active sandboxing flag set</a>
       does not have the <a href=#sandboxed-automatic-features-browsing-context-flag>sandboxed automatic features browsing context flag</a> set, then
-      the user agent may also set the <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute to
-      false, <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-play><a href=#event-media-play>play</a></code> at the element, <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-playing><a href=#event-media-playing>playing</a></code> at the element, and
-      then, if the element's <a href=#show-poster-flag>show poster flag</a> to false, first set it to false and then
-      run the <i><a href=#time-marches-on>time marches on</a></i> steps.</p>
+      the user agent may also run the following substeps:</p>
 
-      <p class=note>User agents do not need to support autoplay, and it is suggested that user
+      <ol><li>Set the <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute to false.</li>
+
+       <li>If the element's <a href=#show-poster-flag>show poster flag</a> is true, set it to false and run the
+       <i><a href=#time-marches-on>time marches on</a></i> steps.</li>
+
+       <li><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-play><a href=#event-media-play>play</a></code> at the element.</li>
+
+       <li><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-playing><a href=#event-media-playing>playing</a></code> at the element.</li>
+
+      </ol><p class=note>User agents do not need to support autoplay, and it is suggested that user
       agents honor user preferences on the matter. Authors are urged to use the <code title=attr-media-autoplay><a href=#attr-media-autoplay>autoplay</a></code> attribute rather than using script to force the
       video to play, so as to allow the user to override the behavior if so desired.</p>
 

Modified: source
===================================================================
--- source	2013-07-02 22:00:22 UTC (rev 8011)
+++ source	2013-07-02 22:22:25 UTC (rev 8012)
@@ -30745,13 +30745,23 @@
       has an <code title="attr-media-autoplay">autoplay</code> attribute specified, and the
       <span>media element</span>'s <code>Document</code>'s <span>active sandboxing flag set</span>
       does not have the <span>sandboxed automatic features browsing context flag</span> set, then
-      the user agent may also set the <code title="dom-media-paused">paused</code> attribute to
-      false, <span>queue a task</span> to <span>fire a simple event</span> named <code
-      title="event-media-play">play</code> at the element, <span>queue a task</span> to <span>fire a
-      simple event</span> named <code title="event-media-playing">playing</code> at the element, and
-      then, if the element's <span>show poster flag</span> to false, first set it to false and then
-      run the <i>time marches on</i> steps.</p>
+      the user agent may also run the following substeps:</p>
 
+      <ol>
+
+       <li>Set the <code title="dom-media-paused">paused</code> attribute to false.</li>
+
+       <li>If the element's <span>show poster flag</span> is true, set it to false and run the
+       <i>time marches on</i> steps.</li>
+
+       <li><span>Queue a task</span> to <span>fire a simple event</span> named <code
+       title="event-media-play">play</code> at the element.</li>
+
+       <li><span>Queue a task</span> to <span>fire a simple event</span> named <code
+       title="event-media-playing">playing</code> at the element.</li>
+
+      </ol>
+
       <p class="note">User agents do not need to support autoplay, and it is suggested that user
       agents honor user preferences on the matter. Authors are urged to use the <code
       title="attr-media-autoplay">autoplay</code> attribute rather than using script to force the




More information about the Commit-Watchers mailing list