[html5] r6557 - [giow] (0) Change the text track cue order so that it reverse-sorts on end time, [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Sep 19 17:11:46 PDT 2011


Author: ianh
Date: 2011-09-19 17:11:44 -0700 (Mon, 19 Sep 2011)
New Revision: 6557

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Change the text track cue order so that it reverse-sorts on end time, since that results in better rendering and fixes some chapter issues. Also, better define the order of events for multiple cues that started at the same time with different end times.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14106

Modified: complete.html
===================================================================
--- complete.html	2011-09-19 23:13:21 UTC (rev 6556)
+++ complete.html	2011-09-20 00:11:44 UTC (rev 6557)
@@ -239,7 +239,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1>Web Applications 1.0</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 19 September 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 20 September 2011</h2>
    </hgroup><dl><dt>Multiple-page version:</dt>
     <dd><a href=http://www.whatwg.org/specs/web-apps/current-work/complete/>http://www.whatwg.org/specs/web-apps/current-work/complete/</a></dd>
     <dt>One-page version:</dt>
@@ -28892,17 +28892,10 @@
     <p>Sort the <a href=#concept-task title=concept-task>tasks</a> in <var title="">events</var> in ascending time order (<a href=#concept-task title=concept-task>tasks</a> with earlier times
     first).</p>
 
-    <p>Further sort <a href=#concept-task title=concept-task>tasks</a> in <var title="">events</var> that have the same time by the <a href=#text-track>text
-    track</a> associated with the <a href=#concept-task title=concept-task>tasks</a>, in the same order as the <a href=#text-track title="text track">text tracks</a> appear in the <a href=#media-element>media
-    element</a>'s <a href=#list-of-text-tracks>list of text tracks</a>.</p>
+    <p>Further sort <a href=#concept-task title=concept-task>tasks</a> in <var title="">events</var> that have the same time by the relative
+    <a href=#text-track-cue-order>text track cue order</a> of the <a href=#text-track-cue title="text track
+    cue">text track cues</a> associated with these <a href=#concept-task title=concept-task>tasks</a>.</p>
 
-    <p>Further sort <a href=#concept-task title=concept-task>tasks</a> in <var title="">events</var> that have the same time and <a href=#text-track>text
-    track</a> by the <a href=#text-track-cue>text track cue</a> associated with
-    the <a href=#concept-task title=concept-task>tasks</a>, in the same order as
-    the <a href=#text-track-cue title="text track cue">cues</a> were created (so e.g.
-    for cues from a <a href=#webvtt-file>WebVTT file</a>, that would be the order
-    in which the cues were listed in the file).</p>
-
    </li>
 
    <li><p><a href=#queue-a-task title="queue a task">Queue</a> each <a href=#concept-task title=concept-task>task</a> in <var title="">events</var>, in
@@ -30765,7 +30758,7 @@
   must be sorted by their <a href=#text-track-cue-start-time title="text track cue start
   time">start time</a>, earliest first; then, any <a href=#text-track-cue title="text track cue">cues</a> with the same <a href=#text-track-cue-start-time title="text
   track cue start time">start time</a> must be sorted by their
-  <a href=#text-track-cue-end-time title="text track cue end time">end time</a>, earliest
+  <a href=#text-track-cue-end-time title="text track cue end time">end time</a>, latest
   first; and finally, any <a href=#text-track-cue title="text track cue">cues</a>
   with identical <a href=#text-track-cue-end-time title="text track cue end time">end
   times</a> must be sorted in the order they were created (so

Modified: index
===================================================================
--- index	2011-09-19 23:13:21 UTC (rev 6556)
+++ index	2011-09-20 00:11:44 UTC (rev 6557)
@@ -243,7 +243,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 19 September 2011</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 20 September 2011</h2>
    </hgroup><dl><dt><strong>Web developer edition</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -28759,17 +28759,10 @@
     <p>Sort the <a href=#concept-task title=concept-task>tasks</a> in <var title="">events</var> in ascending time order (<a href=#concept-task title=concept-task>tasks</a> with earlier times
     first).</p>
 
-    <p>Further sort <a href=#concept-task title=concept-task>tasks</a> in <var title="">events</var> that have the same time by the <a href=#text-track>text
-    track</a> associated with the <a href=#concept-task title=concept-task>tasks</a>, in the same order as the <a href=#text-track title="text track">text tracks</a> appear in the <a href=#media-element>media
-    element</a>'s <a href=#list-of-text-tracks>list of text tracks</a>.</p>
+    <p>Further sort <a href=#concept-task title=concept-task>tasks</a> in <var title="">events</var> that have the same time by the relative
+    <a href=#text-track-cue-order>text track cue order</a> of the <a href=#text-track-cue title="text track
+    cue">text track cues</a> associated with these <a href=#concept-task title=concept-task>tasks</a>.</p>
 
-    <p>Further sort <a href=#concept-task title=concept-task>tasks</a> in <var title="">events</var> that have the same time and <a href=#text-track>text
-    track</a> by the <a href=#text-track-cue>text track cue</a> associated with
-    the <a href=#concept-task title=concept-task>tasks</a>, in the same order as
-    the <a href=#text-track-cue title="text track cue">cues</a> were created (so e.g.
-    for cues from a <a href=#webvtt-file>WebVTT file</a>, that would be the order
-    in which the cues were listed in the file).</p>
-
    </li>
 
    <li><p><a href=#queue-a-task title="queue a task">Queue</a> each <a href=#concept-task title=concept-task>task</a> in <var title="">events</var>, in
@@ -30632,7 +30625,7 @@
   must be sorted by their <a href=#text-track-cue-start-time title="text track cue start
   time">start time</a>, earliest first; then, any <a href=#text-track-cue title="text track cue">cues</a> with the same <a href=#text-track-cue-start-time title="text
   track cue start time">start time</a> must be sorted by their
-  <a href=#text-track-cue-end-time title="text track cue end time">end time</a>, earliest
+  <a href=#text-track-cue-end-time title="text track cue end time">end time</a>, latest
   first; and finally, any <a href=#text-track-cue title="text track cue">cues</a>
   with identical <a href=#text-track-cue-end-time title="text track cue end time">end
   times</a> must be sorted in the order they were created (so

Modified: source
===================================================================
--- source	2011-09-19 23:13:21 UTC (rev 6556)
+++ source	2011-09-20 00:11:44 UTC (rev 6557)
@@ -31399,20 +31399,11 @@
     first).</p>
 
     <p>Further sort <span title="concept-task">tasks</span> in <var
-    title="">events</var> that have the same time by the <span>text
-    track</span> associated with the <span
-    title="concept-task">tasks</span>, in the same order as the <span
-    title="text track">text tracks</span> appear in the <span>media
-    element</span>'s <span>list of text tracks</span>.</p>
+    title="">events</var> that have the same time by the relative
+    <span>text track cue order</span> of the <span title="text track
+    cue">text track cues</span> associated with these <span
+    title="concept-task">tasks</span>.</p>
 
-    <p>Further sort <span title="concept-task">tasks</span> in <var
-    title="">events</var> that have the same time and <span>text
-    track</span> by the <span>text track cue</span> associated with
-    the <span title="concept-task">tasks</span>, in the same order as
-    the <span title="text track cue">cues</span> were created (so e.g.
-    for cues from a <span>WebVTT file</span>, that would be the order
-    in which the cues were listed in the file).</p>
-
    </li>
 
    <li><p><span title="queue a task">Queue</span> each <span
@@ -33525,7 +33516,7 @@
   time">start time</span>, earliest first; then, any <span
   title="text track cue">cues</span> with the same <span title="text
   track cue start time">start time</span> must be sorted by their
-  <span title="text track cue end time">end time</span>, earliest
+  <span title="text track cue end time">end time</span>, latest
   first; and finally, any <span title="text track cue">cues</span>
   with identical <span title="text track cue end time">end
   times</span> must be sorted in the order they were created (so




More information about the Commit-Watchers mailing list