HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2081Further work on the event loop front. Also, make 'will' link to the actual requirements in some more cases.2008-08-19 05:58
@@ -16906,21 +16906,22 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
        title="dom-media-networkState">networkState</code> attribute
        must be set to <code
        title="dom-media-LOADED_METADATA">LOADED_METADATA</code>.</p></li>
 
        <li><p class="note">A number of attributes, including <code
        title="dom-media-duration">duration</code>, <code
        title="dom-media-buffered">buffered</code>, and <code
        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>
 
        <li><p>The user agent must <span>fire a simple event</span>
        called <code title="event-loadedmetadata">loadedmetadata</code>
        at the element.</li>
 
       </ol>
 
@@ -17042,25 +17043,25 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
 
   <p>The <dfn title="dom-media-duration"><code>duration</code></dfn>
   attribute must return the length of the <span>media resource</span>,
   in seconds. If no <span>media data</span> is available, then the
   attributes must return 0. If <span>media data</span> is available
   but the length is not known, the attribute must return the
   Not-a-Number (NaN) value. If the <span>media resource</span> is
   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>
 
   <p><span title="media element">Media elements</span> have a
   <dfn>current playback position</dfn>, which must initially be
   zero. The current position is a time.</p>
 
   <p>The <dfn
   title="dom-media-currentTime"><code>currentTime</code></dfn>
   attribute must, on getting, return the <span>current playback
@@ -17521,29 +17522,28 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
   the <code
   title="dom-media-defaultPlaybackRate">defaultPlaybackRate</code>,
   then the implication is that the user is using a feature such as
   fast forward or slow motion playback. The attribute is mutable, but
   on setting, if the new value is 0.0, a
   <code>NOT_SUPPORTED_ERR</code> exception must be raised instead of
   the value being changed. Otherwise, the playback must change speed
   (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>
 
   <p>When the <dfn title="dom-media-play"><code>play()</code></dfn>
   method on a <span>media element</span> is invoked, the user agent
   must run the following steps.</p>
 
   <ol>
 
@@ -17557,37 +17557,37 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
 
    <li>
 
     <p>If the <span title="ended playback">playback has ended</span>,
     then the user agent must set <code
     title="dom-media-currentLoop">currentLoop</code> to zero and <span
     title="dom-media-seek">seek</span> to the <var>effective
     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>
 
    </li>
 
    <li>
 
     <p>The <code title="dom-media-playbackRate">playbackRate</code>
     attribute must be set to the value of the <code
     title="dom-media-defaultPlaybackRate">defaultPlaybackRate</code>
     attribute.</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>
 
    </li>
 
    <li><p>If the <span>media element</span>'s <code
    title="dom-media-paused">paused</code> attribute is true, it must
    be set to false.</p></li>
 
    <li><p>The <span>media element</span>'s <span>autoplaying

|