[html5] r7078 - [giow] (0) Make event dispatch around cues with duration <= 0 well-defined. (I h [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Apr 26 14:06:33 PDT 2012
Author: ianh
Date: 2012-04-26 14:06:32 -0700 (Thu, 26 Apr 2012)
New Revision: 7078
Modified:
complete.html
index
source
Log:
[giow] (0) Make event dispatch around cues with duration <= 0 well-defined. (I hope.)
Affected topics: Video and Audio
Modified: complete.html
===================================================================
--- complete.html 2012-04-26 02:12:34 UTC (rev 7077)
+++ complete.html 2012-04-26 21:06:32 UTC (rev 7078)
@@ -240,7 +240,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 25 April 2012</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 26 April 2012</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>
@@ -30436,8 +30436,9 @@
<li><p>For each <a href=#text-track-cue title="text track cue">text track cue</a>
in <var title="">missed cues</var>, <a href=#prepare-an-event>prepare an event</a>
named <code title=event-enter>enter</code> for the
- <code><a href=#texttrackcue>TextTrackCue</a></code> object with the <a href=#text-track-cue-start-time>text track cue
- start time</a>.</li>
+ <code><a href=#texttrackcue>TextTrackCue</a></code> object with the later of the <a href=#text-track-cue-start-time>text
+ track cue start time</a> and the <a href=#text-track-cue-end-time>text track cue end
+ time</a>.</li>
<li><p>For each <a href=#text-track-cue title="text track cue">text track cue</a>
in <var title="">other cues</var> that either has its <a href=#text-track-cue-active-flag>text
@@ -30461,6 +30462,10 @@
<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>Finally, sort <a href=#concept-task title=concept-task>tasks</a> in <var title="">events</var> that have the same time and same <a href=#text-track-cue-order>text
+ track cue order</a> by placing <a href=#concept-task title=concept-task>tasks</a> that fire <code title=event-enter>enter</code> events before those that fire
+ <code title=event-exit>exit</code> events.</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
Modified: index
===================================================================
--- index 2012-04-26 02:12:34 UTC (rev 7077)
+++ index 2012-04-26 21:06:32 UTC (rev 7078)
@@ -240,7 +240,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 25 April 2012</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 26 April 2012</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>
@@ -30436,8 +30436,9 @@
<li><p>For each <a href=#text-track-cue title="text track cue">text track cue</a>
in <var title="">missed cues</var>, <a href=#prepare-an-event>prepare an event</a>
named <code title=event-enter>enter</code> for the
- <code><a href=#texttrackcue>TextTrackCue</a></code> object with the <a href=#text-track-cue-start-time>text track cue
- start time</a>.</li>
+ <code><a href=#texttrackcue>TextTrackCue</a></code> object with the later of the <a href=#text-track-cue-start-time>text
+ track cue start time</a> and the <a href=#text-track-cue-end-time>text track cue end
+ time</a>.</li>
<li><p>For each <a href=#text-track-cue title="text track cue">text track cue</a>
in <var title="">other cues</var> that either has its <a href=#text-track-cue-active-flag>text
@@ -30461,6 +30462,10 @@
<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>Finally, sort <a href=#concept-task title=concept-task>tasks</a> in <var title="">events</var> that have the same time and same <a href=#text-track-cue-order>text
+ track cue order</a> by placing <a href=#concept-task title=concept-task>tasks</a> that fire <code title=event-enter>enter</code> events before those that fire
+ <code title=event-exit>exit</code> events.</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
Modified: source
===================================================================
--- source 2012-04-26 02:12:34 UTC (rev 7077)
+++ source 2012-04-26 21:06:32 UTC (rev 7078)
@@ -33159,8 +33159,9 @@
<li><p>For each <span title="text track cue">text track cue</span>
in <var title="">missed cues</var>, <span>prepare an event</span>
named <code title="event-enter">enter</code> for the
- <code>TextTrackCue</code> object with the <span>text track cue
- start time</span>.</p></li>
+ <code>TextTrackCue</code> object with the later of the <span>text
+ track cue start time</span> and the <span>text track cue end
+ time</span>.</p></li>
<li><p>For each <span title="text track cue">text track cue</span>
in <var title="">other cues</var> that either has its <span>text
@@ -33189,6 +33190,13 @@
cue">text track cues</span> associated with these <span
title="concept-task">tasks</span>.</p>
+ <p>Finally, sort <span title="concept-task">tasks</span> in <var
+ title="">events</var> that have the same time and same <span>text
+ track cue order</span> by placing <span
+ title="concept-task">tasks</span> that fire <code
+ title="event-enter">enter</code> events before those that fire
+ <code title="event-exit">exit</code> events.</p>
+
</li>
<li><p><span title="queue a task">Queue</span> each <span
More information about the Commit-Watchers
mailing list