Skip to content
Permalink
Browse files

[] (0) Further work on the event loop front. Also, make 'will' link t…

…o the actual requirements in some more cases.

git-svn-id: http://svn.whatwg.org/webapps@2081 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 19, 2008
1 parent bf3f3cf commit 80eca15a24d9e0870beeb94c80f6108efd652277
Showing with 28 additions and 26 deletions.
  1. +14 −12 index
  2. +14 −14 source
26 index
available.

<li>
<p class=note>The user agent will <a href="#firing2">fire a simple
event</a> called <code title=event-durationchange><a
<p class=note>The user agent <a href="#durationUpdate">will</a> <a
href="#firing2">fire a simple event</a> called <code
title=event-durationchange><a
href="#durationchange">durationchange</a></code> at the element at
this point.

streaming radio), then the attribute must return the positive Infinity
value.

<p>When the length of the <a href="#media10">media resource</a> changes
(e.g. from being unknown to known, or from indeterminate to known, or from
a previously established length to a new length) the user agent must <a
href="#queue">queue a task</a> to <a href="#firing2">fire a simple
event</a> called <code title=event-durationchange><a
<p id=durationChange>When the length of the <a href="#media10">media
resource</a> changes (e.g. from being unknown to known, or from
indeterminate to known, or from a previously established length to a new
length) the user agent must <a href="#queue">queue a task</a> to <a
href="#firing2">fire a simple event</a> called <code
title=event-durationchange><a
href="#durationchange">durationchange</a></code> at the <a
href="#media7">media element</a>.

speed (if the element is <a href="#actively">actively playing</a>). It
must initially have the value 1.0.

<p>When the <code title=dom-media-defaultPlaybackRate><a
<p id=rateUpdate>When the <code title=dom-media-defaultPlaybackRate><a
href="#defaultplaybackrate">defaultPlaybackRate</a></code> or <code
title=dom-media-playbackRate><a
href="#playbackrate">playbackRate</a></code> attributes change value
start</a></var>.</p>

<p class=note>If this involved a seek, the user agent <a
href="#seekUpdate">will later</a> <a href="#firing2">fire a simple
event</a> called <code title=event-timeupdate><a
href="#seekUpdate">will</a> <a href="#firing2">fire a simple event</a>
called <code title=event-timeupdate><a
href="#timeupdate">timeupdate</a></code> at the <a href="#media7">media
element</a>.</p>


<p class=note>If this caused the <code title=dom-media-playbackRate><a
href="#playbackrate">playbackRate</a></code> attribute to change value,
the user agent will<!-- XXX queued--> <a href="#firing2">fire a simple
event</a> called <code title=event-ratechange><a
the user agent <a href="#rateUpdate">will</a> <a href="#firing2">fire a
simple event</a> called <code title=event-ratechange><a
href="#ratechange">ratechange</a></code> at the <a href="#media7">media
element</a>.</p>

28 source
title="dom-media-played">played</code>, become
available.</p></li>

<li><p class="note">The user agent will <span>fire a simple
<li><p class="note">The user agent <a
href="#durationUpdate">will</a> <span>fire a simple
event</span> called <code
title="event-durationchange">durationchange</code> at the
element at this point.</li>
known to be unbounded (e.g. a streaming radio), then the attribute
must return the positive Infinity value.</p>

<p>When the length of the <span>media resource</span> changes
(e.g. from being unknown to known, or from indeterminate to known,
or from a previously established length to a new length) the user
agent must <span>queue a task</span> to <span>fire a simple
event</span> called <code
<p id="durationChange">When the length of the <span>media
resource</span> changes (e.g. from being unknown to known, or from
indeterminate to known, or from a previously established length to a
new length) the user agent must <span>queue a task</span> to
<span>fire a simple event</span> called <code
title="event-durationchange">durationchange</code> at the
<span>media element</span>.</p>

(if the element is <span>actively playing</span>). It must initially
have the value 1.0.</p>

<p>When the <code
<p id="rateUpdate">When the <code
title="dom-media-defaultPlaybackRate">defaultPlaybackRate</code> or
<code title="dom-media-playbackRate">playbackRate</code> attributes
change value (either by being set by script or by being changed
directly by the user agent, e.g. in response to user control) the
user agent must <span>queue a task</span> to <span>fire
a simple event</span> called <code
title="event-ratechange">ratechange</code> at the <span>media
element</span>.</p>
user agent must <span>queue a task</span> to <span>fire a simple
event</span> called <code title="event-ratechange">ratechange</code>
at the <span>media element</span>.</p>


<hr>
start</var>.</p>

<p class="note">If this involved a seek, the user agent <a
href="#seekUpdate">will later</a> <span>fire a simple event</span>
href="#seekUpdate">will</a> <span>fire a simple event</span>
called <code title="event-timeupdate">timeupdate</code> at the
<span>media element</span>.</p>


<p class="note">If this caused the <code
title="dom-media-playbackRate">playbackRate</code> attribute to
change value, the user agent will<!-- XXX queued--> <span>fire a
simple event</span> called <code
change value, the user agent <a href="#rateUpdate">will</a>
<span>fire a simple event</span> called <code
title="event-ratechange">ratechange</code> at the <span>media
element</span>.</p>

0 comments on commit 80eca15

Please sign in to comment.
You can’t perform that action at this time.