html5/spec spec.html,1.1089,1.1090 the-iframe-element.html,1.7,1.8 video.html,1.873,1.874

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv7569

Modified Files:
	spec.html the-iframe-element.html video.html 
Log Message:
Make the events around seeking more predictable and reliable. (whatwg r5219)

[updated by splitter]


Index: the-iframe-element.html
===================================================================
RCS file: /sources/public/html5/spec/the-iframe-element.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- the-iframe-element.html	2 Jul 2010 23:06:48 -0000	1.7
+++ the-iframe-element.html	28 Jul 2010 22:36:56 -0000	1.8
@@ -469,13 +469,15 @@
   document's <a href="browsers.html#browsing-context">browsing context</a> as the <a href="history.html#source-browsing-context">source
   browsing context</a>.</p>
 
-  <p>Furthermore, if the <a href="#process-the-iframe-attributes">process the <code>iframe</code>
-  attributes</a> algorithm was invoked for the first time for this
-  element (i.e. as a result of the element being <a href="infrastructure.html#insert-an-element-into-a-document" title="insert
-  an element into a document">inserted into a document</a>), then
-  any <a href="history.html#navigate" title="navigate">navigation</a> required of the user
-  agent in that algorithm must be completed with <a href="history.html#replacement-enabled">replacement
-  enabled</a>.</p>
+  <p>Furthermore, if the <a href="browsers.html#browsing-context">browsing context</a>'s <a href="history.html#session-history">session
+  history</a> contained only one <code><a href="infrastructure.html#document">Document</a></code> when the
+  <a href="#process-the-iframe-attributes">process the <code>iframe</code> attributes</a> algorithm
+  was invoked, and that was the <code><a href="fetching-resources.html#about:blank">about:blank</a></code>
+  <code><a href="infrastructure.html#document">Document</a></code> created when the <a href="browsers.html#browsing-context">browsing context</a>
+  was created, then any <a href="history.html#navigate" title="navigate">navigation</a>
+  required of the user agent in that algorithm must be completed with
+  <a href="history.html#replacement-enabled">replacement enabled</a>.</p> <!-- see also the note near
+  similar text for the location.assign() method -->
 
   </div><p class="note">If, when the element is created, the <code title="attr-iframe-srcdoc"><a href="#attr-iframe-srcdoc">srcdoc</a></code> attribute is not set, and
   the <code title="attr-iframe-src"><a href="#attr-iframe-src">src</a></code> attribute is either

Index: video.html
===================================================================
RCS file: /sources/public/html5/spec/video.html,v
retrieving revision 1.873
retrieving revision 1.874
diff -u -d -r1.873 -r1.874
--- video.html	22 Jul 2010 22:46:42 -0000	1.873
+++ video.html	28 Jul 2010 22:36:56 -0000	1.874
@@ -2714,10 +2714,6 @@
    <li><p>Set the <code title="dom-media-seeking"><a href="#dom-media-seeking">seeking</a></code> IDL
    attribute to true.</p></li>
 
-   <li id="seekUpdate"><p><a href="webappapis.html#queue-a-task">Queue a task</a> to <a href="webappapis.html#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.</p></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
@@ -2747,6 +2743,14 @@
    <li><p>Set the <a href="#current-playback-position">current playback position</a> to the given
    <var title="">new playback position</var>.</p></li>
 
+   <li><p><a href="webappapis.html#queue-a-task">Queue a task</a> to <a href="webappapis.html#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.</p></li>
+
+   <li id="seekUpdate"><p><a href="webappapis.html#queue-a-task">Queue a task</a> to <a href="webappapis.html#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.</p></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>
@@ -2755,15 +2759,10 @@
    <code title="event-media-waiting"><a href="#event-media-waiting">waiting</a></code> at the
    element.</p></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="webappapis.html#queue-a-task">queue a
-   task</a> to <a href="webappapis.html#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.</p></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.</p></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.</p></li>
 
    <li><p><a href="webappapis.html#await-a-stable-state">Await a stable state</a>. The <a href="webappapis.html#synchronous-section">synchronous
    section</a> consists of all the remaining steps of this

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1089
retrieving revision 1.1090
diff -u -d -r1.1089 -r1.1090
--- spec.html	28 Jul 2010 22:26:56 -0000	1.1089
+++ spec.html	28 Jul 2010 22:36:56 -0000	1.1090
@@ -333,7 +333,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">author edition</a>.
-This is revision 1.4152.
+This is revision 1.4154.
    </p> 
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2010 <a href="http://www.w3.org/"><abbr title="World Wide

Received on Wednesday, 28 July 2010 22:37:00 UTC