hixie: Fix a few places where a media element could get out of sync with its controller, and re-enable media fragments for loading resources with a controller. (whatwg r6025)

hixie: Fix a few places where a media element could get out of sync with
its controller, and re-enable media fragments for loading resources with
a controller. (whatwg r6025)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4842&r2=1.4843&f=h
http://html5.org/tools/web-apps-tracker?from=6024&to=6025

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4842
retrieving revision 1.4843
diff -u -d -r1.4842 -r1.4843
--- Overview.html 21 Apr 2011 23:35:32 -0000 1.4842
+++ Overview.html 22 Apr 2011 19:36:21 -0000 1.4843
@@ -340,7 +340,7 @@
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-21-april-2011">Editor's Draft 21 April 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-22-april-2011">Editor's Draft 22 April 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -483,7 +483,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 21 April 2011 Editor's Draft.
+  This specification is the 22 April 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
@@ -22546,14 +22546,16 @@
 
        </li>
 
+       <li><p>Let <var title="">jumped</var> be false.</li>
+
        <li>
 
         <p>If either the <a href="#media-resource">media resource</a> or the address of
         the <var title="">current media resource</var> indicate a
         particular start time, then set the <a href="#initial-playback-position">initial playback
-        position</a> to that time and then <a href="#dom-media-seek" title="dom-media-seek">seek</a> to that time. Ignore any
-        resulting exceptions (if the position is out of range, it is
-        effectively ignored).</p>
+        position</a> to that time, <a href="#dom-media-seek" title="dom-media-seek">seek</a> to that time, and let <var title="">jumped</var> be true. Ignore any resulting exceptions
+        (if the position is out of range, it is effectively
+        ignored).</p>
 
         <p class="example">For example, with media formats that
         support the <cite>Media Fragments URI</cite> fragment
@@ -23533,8 +23535,9 @@
    <li>
 
     <p>If the <a href="#ended-playback" title="ended playback">playback has ended</a>
-    and the <a href="#direction-of-playback">direction of playback</a> is forwards, <a href="#dom-media-seek" title="dom-media-seek">seek</a> to the <a href="#earliest-possible-position">earliest possible
-    position</a> of the <a href="#media-resource">media resource</a>.</p>
+    and the <a href="#direction-of-playback">direction of playback</a> is forwards,
+    <a href="#dom-media-seek" title="dom-media-seek">seek</a> to the <a href="#earliest-possible-position">earliest
+    possible position</a> of the <a href="#media-resource">media resource</a>.</p>
 
     <p class="note">This <a href="#seekUpdate">will cause</a> the user
     agent to <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a simple
@@ -23542,6 +23545,7 @@
     element</a>.</p> 
    </li>
 
+
    <li>
 
     <p>If the <a href="#media-element">media element</a>'s <code title="dom-media-paused"><a href="#dom-media-paused">paused</a></code> attribute is true, run
@@ -23933,7 +23937,8 @@
   element</a> could play in a non-linear fashion. If this happens,
   the user agent must act as if the algorithm for <a href="#dom-media-seek" title="dom-media-seek">seeking</a> was used whenever the
   <a href="#current-playback-position">current playback position</a> changes in a discontinuous
-  fashion (so that the relevant events fire).</p>
+  fashion (so that the relevant events fire).
+  </p>
 
   </div><h5 id="timed-text-tracks"><span class="secno">4.8.10.10 </span>Timed text tracks</h5><h6 id="text-track-model"><span class="secno">4.8.10.10.1 </span>Text track model</h6><p>A <a href="#media-element">media element</a> can have a group of associated <dfn id="text-track" title="text track">text tracks</dfn>, known as the <a href="#media-element">media
   element</a>'s <dfn id="list-of-text-tracks">list of text tracks</dfn>. The <a href="#text-track" title="text track">text tracks</a> are sorted as follows:<ol class="brief"><li>The <a href="#text-track" title="text track">text tracks</a> corresponding

Received on Friday, 22 April 2011 19:39:12 UTC