Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv7437
Modified Files:
Overview.html
Log Message:
Make the events around seeking more predictable and reliable. (whatwg r5219)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4153
retrieving revision 1.4154
diff -u -d -r1.4153 -r1.4154
--- Overview.html 28 Jul 2010 22:30:55 -0000 1.4153
+++ Overview.html 28 Jul 2010 22:35:55 -0000 1.4154
@@ -22393,10 +22393,6 @@
<li><p>Set the <code title="dom-media-seeking"><a href="#dom-media-seeking">seeking</a></code> IDL
attribute to true.</li>
- <li id="seekUpdate"><p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-simple-event">fire a
- simple event</a> named <code title="event-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the
- element.</li>
-
<li><p>If the seek was in response to a DOM method call or setting
of an IDL attribute, then continue the script. The remainder of
these steps must be run asynchronously. With the exception of the
@@ -22426,6 +22422,14 @@
<li><p>Set the <a href="#current-playback-position">current playback position</a> to the given
<var title="">new playback position</var>.</li>
+ <li><p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-simple-event">fire a simple
+ event</a> named <code title="event-media-seeking"><a href="#event-media-seeking">seeking</a></code>
+ at the element.</li>
+
+ <li id="seekUpdate"><p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-simple-event">fire a
+ simple event</a> named <code title="event-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the
+ element.</li>
+
<li><p>If the <a href="#media-element">media element</a> was <a href="#potentially-playing">potentially
playing</a> immediately before it started seeking, but seeking
caused its <code title="dom-media-readyState"><a href="#dom-media-readystate">readyState</a></code>
@@ -22434,15 +22438,10 @@
<code title="event-media-waiting"><a href="#event-media-waiting">waiting</a></code> at the
element.</li>
- <li><p>If, when it reaches this step, the user agent has still not
- established whether or not the <a href="#media-data">media data</a> for the <var title="">new playback position</var> is available, and, if it is,
- decoded enough data to play back that position, then <a href="#queue-a-task">queue a
- task</a> to <a href="#fire-a-simple-event">fire a simple event</a> named <code title="event-media-seeking"><a href="#event-media-seeking">seeking</a></code> at the element.</li>
-
- <li><p>Wait until it has established whether or not the <a href="#media-data">media
- data</a> for the <var title="">new playback position</var> is
- available, and, if it is, until it has decoded enough data to play
- back that position.</li>
+ <li><p>Wait until the user agent has established whether or not the
+ <a href="#media-data">media data</a> for the <var title="">new playback
+ position</var> is available, and, if it is, until it has decoded
+ enough data to play back that position.</li>
<li><p><a href="#await-a-stable-state">Await a stable state</a>. The <a href="#synchronous-section">synchronous
section</a> consists of all the remaining steps of this