Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[e] (0) markup change
git-svn-id: http://svn.whatwg.org/webapps@3013 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 28, 2009
1 parent e818db7 commit 318a9a1
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 29 deletions.
27 changes: 13 additions & 14 deletions index
Expand Up @@ -20486,7 +20486,7 @@ interface <dfn id=cuerangecallback>CueRangeCallback</dfn> {
must follow these substeps:</p>

<ol><li><p>Set the <a href=#current-playback-position>current playback position</a> to the
<var><a href=#earliest-possible-position>earliest possible position</a></var>.</li>
<a href=#earliest-possible-position>earliest possible position</a>.</li>

<li><p>Set the <code title=dom-media-readyState><a href=#dom-media-readystate>readyState</a></code> attribute to
<code title=dom-media-HAVE_METADATA><a href=#dom-media-have_metadata>HAVE_METADATA</a></code>.</li>
Expand Down Expand Up @@ -20846,15 +20846,14 @@ interface <dfn id=cuerangecallback>CueRangeCallback</dfn> {

<p>If the <a href=#media-resource>media resource</a> is a streaming resource, then
the user agent might be unable to obtain certain parts of the
resource after it has expired from its buffer. The
<dfn id=earliest-possible-position><var>earliest possible position</var></dfn> is the earliest
position in the stream that the user agent can ever obtain
again.</p>
resource after it has expired from its buffer. The <dfn id=earliest-possible-position>earliest
possible position</dfn> is the earliest position in the stream that
the user agent can ever obtain again.</p>

<p>When the <var><a href=#earliest-possible-position>earliest possible position</a></var> changes, if the
<p>When the <a href=#earliest-possible-position>earliest possible position</a> changes, if the
<a href=#current-playback-position>current playback position</a> is before the
<var><a href=#earliest-possible-position>earliest possible position</a></var>, the user agent must <a href=#dom-media-seek title=dom-media-seek>seek</a> to the <var><a href=#earliest-possible-position>earliest possible
position</a></var>.</p>
<a href=#earliest-possible-position>earliest possible position</a>, the user agent must <a href=#dom-media-seek title=dom-media-seek>seek</a> to the <a href=#earliest-possible-position>earliest possible
position</a>.</p>

</div>

Expand Down Expand Up @@ -21252,7 +21251,7 @@ interface <dfn id=cuerangecallback>CueRangeCallback</dfn> {
playback</a> is forwards and the <a href=#media-element>media element</a> does
not have a <code title=attr-media-loop><a href=#attr-media-loop>loop</a></code> attribute
specified, or the <a href=#current-playback-position>current playback position</a> is the
<var><a href=#earliest-possible-position>earliest possible position</a></var> and the <a href=#direction-of-playback>direction of
<a href=#earliest-possible-position>earliest possible position</a> and the <a href=#direction-of-playback>direction of
playback</a> is backwards.</p>

<p>The <dfn id=dom-media-ended title=dom-media-ended><code>ended</code></dfn>
Expand Down Expand Up @@ -21302,8 +21301,8 @@ interface <dfn id=cuerangecallback>CueRangeCallback</dfn> {
playback</a> is forwards, then the user agent must follow these
steps:</p>

<ol><li><p>If the <a href=#media-element>media element</a> has a <code title=attr-media-loop><a href=#attr-media-loop>loop</a></code> attribute specified, then <a href=#dom-media-seek title=dom-media-seek>seek</a> to the <var><a href=#earliest-possible-position>earliest possible
position</a></var> of the <a href=#media-resource>media resource</a> and abort these
<ol><li><p>If the <a href=#media-element>media element</a> has a <code title=attr-media-loop><a href=#attr-media-loop>loop</a></code> attribute specified, then <a href=#dom-media-seek title=dom-media-seek>seek</a> to the <a href=#earliest-possible-position>earliest possible
position</a> of the <a href=#media-resource>media resource</a> and abort these
steps.</li> <!-- v2/v3: We should fire a 'looping' event here
to explain why this immediately fires a 'playing' event, otherwise
the 'playing' event that fires from the readyState going from
Expand All @@ -21322,7 +21321,7 @@ interface <dfn id=cuerangecallback>CueRangeCallback</dfn> {
at the element.</li>

</ol><p>When the <a href=#current-playback-position>current playback position</a> reaches the
<var><a href=#earliest-possible-position>earliest possible position</a></var> of the <a href=#media-resource>media
<a href=#earliest-possible-position>earliest possible position</a> of the <a href=#media-resource>media
resource</a> when the <a href=#direction-of-playback>direction of playback</a> is
backwards, then the user agent must follow these steps:</p>

Expand Down Expand Up @@ -21388,7 +21387,7 @@ interface <dfn id=cuerangecallback>CueRangeCallback</dfn> {

<p>If the <a href=#ended-playback title="ended playback">playback has ended</a>,
then the user agent must <a href=#dom-media-seek title=dom-media-seek>seek</a>
to the <var><a href=#earliest-possible-position>earliest possible position</a></var> of the <a href=#media-resource>media
to the <a href=#earliest-possible-position>earliest possible position</a> of the <a href=#media-resource>media
resource</a>.</p>

<p class=note>This <a href=#seekUpdate>will cause</a> the user
Expand Down Expand Up @@ -21623,7 +21622,7 @@ interface <dfn id=cuerangecallback>CueRangeCallback</dfn> {
end of the <a href=#media-resource>media resource</a> instead.</li>

<li><p>If the <var title="">new playback position</var> is less
than the <var><a href=#earliest-possible-position>earliest possible position</a></var>, let it be that
than the <a href=#earliest-possible-position>earliest possible position</a>, let it be that
position instead.</li>

<li><p>If the (possibly now changed) <var title="">new playback
Expand Down
29 changes: 14 additions & 15 deletions source
Expand Up @@ -22160,7 +22160,7 @@ interface <dfn>CueRangeCallback</dfn> {
<ol>

<li><p>Set the <span>current playback position</span> to the
<var>earliest possible position</var>.</p></li>
<span>earliest possible position</span>.</p></li>

<li><p>Set the <code
title="dom-media-readyState">readyState</code> attribute to
Expand Down Expand Up @@ -22592,16 +22592,15 @@ interface <dfn>CueRangeCallback</dfn> {

<p>If the <span>media resource</span> is a streaming resource, then
the user agent might be unable to obtain certain parts of the
resource after it has expired from its buffer. The
<dfn><var>earliest possible position</var></dfn> is the earliest
position in the stream that the user agent can ever obtain
again.</p>
resource after it has expired from its buffer. The <dfn>earliest
possible position</dfn> is the earliest position in the stream that
the user agent can ever obtain again.</p>

<p>When the <var>earliest possible position</var> changes, if the
<p>When the <span>earliest possible position</span> changes, if the
<span>current playback position</span> is before the
<var>earliest possible position</var>, the user agent must <span
title="dom-media-seek">seek</span> to the <var>earliest possible
position</var>.</p>
<span>earliest possible position</span>, the user agent must <span
title="dom-media-seek">seek</span> to the <span>earliest possible
position</span>.</p>

</div>

Expand Down Expand Up @@ -23073,7 +23072,7 @@ interface <dfn>CueRangeCallback</dfn> {
playback</span> is forwards and the <span>media element</span> does
not have a <code title="attr-media-loop">loop</code> attribute
specified, or the <span>current playback position</span> is the
<var>earliest possible position</var> and the <span>direction of
<span>earliest possible position</span> and the <span>direction of
playback</span> is backwards.</p>

<p>The <dfn title="dom-media-ended"><code>ended</code></dfn>
Expand Down Expand Up @@ -23134,8 +23133,8 @@ interface <dfn>CueRangeCallback</dfn> {

<li><p>If the <span>media element</span> has a <code
title="attr-media-loop">loop</code> attribute specified, then <span
title="dom-media-seek">seek</span> to the <var>earliest possible
position</var> of the <span>media resource</span> and abort these
title="dom-media-seek">seek</span> to the <span>earliest possible
position</span> of the <span>media resource</span> and abort these
steps.</p></li> <!-- v2/v3: We should fire a 'looping' event here
to explain why this immediately fires a 'playing' event, otherwise
the 'playing' event that fires from the readyState going from
Expand All @@ -23158,7 +23157,7 @@ interface <dfn>CueRangeCallback</dfn> {
</ol>

<p>When the <span>current playback position</span> reaches the
<var>earliest possible position</var> of the <span>media
<span>earliest possible position</span> of the <span>media
resource</span> when the <span>direction of playback</span> is
backwards, then the user agent must follow these steps:</p>

Expand Down Expand Up @@ -23242,7 +23241,7 @@ interface <dfn>CueRangeCallback</dfn> {

<p>If the <span title="ended playback">playback has ended</span>,
then the user agent must <span title="dom-media-seek">seek</span>
to the <var>earliest possible position</var> of the <span>media
to the <span>earliest possible position</span> of the <span>media
resource</span>.</p>

<p class="note">This <a href="#seekUpdate">will cause</a> the user
Expand Down Expand Up @@ -23532,7 +23531,7 @@ interface <dfn>CueRangeCallback</dfn> {
end of the <span>media resource</span> instead.</p></li>

<li><p>If the <var title="">new playback position</var> is less
than the <var>earliest possible position</var>, let it be that
than the <span>earliest possible position</span>, let it be that
position instead.</p></li>

<li><p>If the (possibly now changed) <var title="">new playback
Expand Down

0 comments on commit 318a9a1

Please sign in to comment.