Skip to content

Commit

Permalink
[giow] (0) Make event dispatch around cues with duration <= 0 well-de…
Browse files Browse the repository at this point in the history
…fined. (I hope.)

Affected topics: Video and Audio

git-svn-id: http://svn.whatwg.org/webapps@7078 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 26, 2012
1 parent 4488243 commit 8fd9216
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 8 deletions.
11 changes: 8 additions & 3 deletions complete.html
Expand Up @@ -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 &mdash; Last Updated 25 April 2012</h2>
<h2 class="no-num no-toc">Living Standard &mdash; 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>
Expand Down Expand Up @@ -30436,8 +30436,9 @@ <h5 id=playing-the-media-resource><span class=secno>4.8.10.8 </span>Playing the
<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
Expand All @@ -30461,6 +30462,10 @@ <h5 id=playing-the-media-resource><span class=secno>4.8.10.8 </span>Playing the
<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
Expand Down
11 changes: 8 additions & 3 deletions index
Expand Up @@ -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 &mdash; Last Updated 25 April 2012</h2>
<h2 class="no-num no-toc">Living Standard &mdash; 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>
Expand Down Expand Up @@ -30436,8 +30436,9 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael
<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
Expand All @@ -30461,6 +30462,10 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael
<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
Expand Down
12 changes: 10 additions & 2 deletions source
Expand Up @@ -33159,8 +33159,9 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
<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
Expand Down Expand Up @@ -33189,6 +33190,13 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
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
Expand Down

0 comments on commit 8fd9216

Please sign in to comment.