Skip to content

Commit

Permalink
[] (0) Further work on the event loop front. Also, make 'will' link t…
Browse files Browse the repository at this point in the history
…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 80eca15
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 26 deletions.
26 changes: 14 additions & 12 deletions index
Expand Up @@ -19400,8 +19400,9 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href="#htmlmediae
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.

Expand Down Expand Up @@ -19535,11 +19536,12 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href="#htmlmediae
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>.

Expand Down Expand Up @@ -20056,7 +20058,7 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href="#htmlmediae
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
Expand Down Expand Up @@ -20092,8 +20094,8 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href="#htmlmediae
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>

Expand All @@ -20105,8 +20107,8 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href="#htmlmediae

<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>

Expand Down
28 changes: 14 additions & 14 deletions source
Expand Up @@ -16913,7 +16913,8 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
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>
Expand Down Expand Up @@ -17049,11 +17050,11 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
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>

Expand Down Expand Up @@ -17528,15 +17529,14 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
(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>
Expand Down Expand Up @@ -17564,7 +17564,7 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
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>

Expand All @@ -17579,8 +17579,8 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {

<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>

Expand Down

0 comments on commit 80eca15

Please sign in to comment.