Skip to content

Commit

Permalink
[] (0) Explicitly say that ranges are inclusive.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12186

git-svn-id: http://svn.whatwg.org/webapps@6180 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 3, 2011
1 parent 3a8aba3 commit 0a7106b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions complete.html
Expand Up @@ -33823,6 +33823,14 @@ <h5 id=time-ranges><span class=secno>4.8.10.15 </span>Time ranges</h5>
overlap, aren't empty, and don't touch (adjacent ranges are folded
into one bigger range).</p>

<p>Ranges in a <code><a href=#timeranges>TimeRanges</a></code> object must be inclusive.</p>

<p class=example>Thus, the end of a range would be equal to the
start of a following adjacent (touching but not overlapping) range.
Similarly, a range covering a whole timeline anchored at zero would
have a start equal to zero and an end equal to the duration of the
timeline.</p>

<p>The timelines used by the objects returned by the <code title=dom-media-buffered><a href=#dom-media-buffered>buffered</a></code>, <code title=dom-media-seekable><a href=#dom-media-seekable>seekable</a></code> and <code title=dom-media-played><a href=#dom-media-played>played</a></code> IDL attributes of <a href=#media-element title="media element">media elements</a> must be that element's
<a href=#media-timeline>media timeline</a>.</p>

Expand Down
8 changes: 8 additions & 0 deletions index
Expand Up @@ -33812,6 +33812,14 @@ interface <dfn id=texttrackcue>TextTrackCue</dfn> {
overlap, aren't empty, and don't touch (adjacent ranges are folded
into one bigger range).</p>

<p>Ranges in a <code><a href=#timeranges>TimeRanges</a></code> object must be inclusive.</p>

<p class=example>Thus, the end of a range would be equal to the
start of a following adjacent (touching but not overlapping) range.
Similarly, a range covering a whole timeline anchored at zero would
have a start equal to zero and an end equal to the duration of the
timeline.</p>

<p>The timelines used by the objects returned by the <code title=dom-media-buffered><a href=#dom-media-buffered>buffered</a></code>, <code title=dom-media-seekable><a href=#dom-media-seekable>seekable</a></code> and <code title=dom-media-played><a href=#dom-media-played>played</a></code> IDL attributes of <a href=#media-element title="media element">media elements</a> must be that element's
<a href=#media-timeline>media timeline</a>.</p>

Expand Down
8 changes: 8 additions & 0 deletions source
Expand Up @@ -37331,6 +37331,14 @@ interface <dfn>TextTrackCue</dfn> {
overlap, aren't empty, and don't touch (adjacent ranges are folded
into one bigger range).</p>

<p>Ranges in a <code>TimeRanges</code> object must be inclusive.</p>

<p class="example">Thus, the end of a range would be equal to the
start of a following adjacent (touching but not overlapping) range.
Similarly, a range covering a whole timeline anchored at zero would
have a start equal to zero and an end equal to the duration of the
timeline.</p>

<p>The timelines used by the objects returned by the <code
title="dom-media-buffered">buffered</code>, <code
title="dom-media-seekable">seekable</code> and <code
Expand Down

0 comments on commit 0a7106b

Please sign in to comment.