Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (0) Make sure that chapter trees don't have negative-duration …
…chapters.

Affected topics: Video Text Tracks

git-svn-id: http://svn.whatwg.org/webapps@7068 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 25, 2012
1 parent 13a382c commit 5bfcd25
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions complete.html
Expand Up @@ -33631,6 +33631,10 @@ <h6 id=text-tracks-describing-chapters><span class=secno>4.8.10.12.6 </span>Text
<ol><li><p>Let <var title="">list</var> be a copy of the <a href=#text-track-list-of-cues title="text track list of cues">list of cues</a> of the
<a href=#text-track>text track</a> being processed.</li>

<li><p>Remove from <var title="">list</var> any <a href=#text-track-cue>text track
cue</a> whose <a href=#text-track-cue-end-time>text track cue end time</a> is before its
<a href=#text-track-cue-start-time>text track cue start time</a>.</li>

<li><p>Let <var title="">output</var> be an empty list of chapters,
where a chapter is a record consisting of a start time, an end
time, a title, and a (potentially empty) list of nested chapters.
Expand Down
4 changes: 4 additions & 0 deletions index
Expand Up @@ -33631,6 +33631,10 @@ interface <dfn id=texttrackcue>TextTrackCue</dfn> : <a href=#eventtarget>EventTa
<ol><li><p>Let <var title="">list</var> be a copy of the <a href=#text-track-list-of-cues title="text track list of cues">list of cues</a> of the
<a href=#text-track>text track</a> being processed.</li>

<li><p>Remove from <var title="">list</var> any <a href=#text-track-cue>text track
cue</a> whose <a href=#text-track-cue-end-time>text track cue end time</a> is before its
<a href=#text-track-cue-start-time>text track cue start time</a>.</li>

<li><p>Let <var title="">output</var> be an empty list of chapters,
where a chapter is a record consisting of a start time, an end
time, a title, and a (potentially empty) list of nested chapters.
Expand Down
4 changes: 4 additions & 0 deletions source
Expand Up @@ -36802,6 +36802,10 @@ interface <dfn>TextTrackCue</dfn> : <span>EventTarget</span> {
title="text track list of cues">list of cues</span> of the
<span>text track</span> being processed.</p></li>

<li><p>Remove from <var title="">list</var> any <span>text track
cue</span> whose <span>text track cue end time</span> is before its
<span>text track cue start time</span>.</p></li>

<li><p>Let <var title="">output</var> be an empty list of chapters,
where a chapter is a record consisting of a start time, an end
time, a title, and a (potentially empty) list of nested chapters.
Expand Down

0 comments on commit 5bfcd25

Please sign in to comment.