--- a/media-source/media-source.html Mon Oct 08 12:29:23 2012 -0700
+++ b/media-source/media-source.html Tue Oct 09 10:29:57 2012 -0700
@@ -375,7 +375,7 @@
<li>If the user agent can't handle any more SourceBuffer objects then throw a <code><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-domexception-quota_exceeded_err">QUOTA_EXCEEDED_ERR</a></code> exception and abort these steps.</li>
<li>If the <code><a href="#dom-readystate">readyState</a></code> attribute is not in the <code><a href="#dom-%22open%22">"open"</a></code> state then throw an <code><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-domexception-invalid_state_err">INVALID_STATE_ERR</a></code> exception and abort these steps.</li>
<li>Create a new <code><a href="#dom-sourcebuffer">SourceBuffer</a></code> object and associated resources.</li>
- <li>Add the new object to <code><a href="#dom-sourcebuffers">sourceBuffers</a></code> and <a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+ <li>Add the new object to <code><a href="#dom-sourcebuffers">sourceBuffers</a></code> and <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="#dom-evt-addsourcebuffer">addsourcebuffer</a></code> at <code><a href="#dom-sourcebuffers">sourceBuffers</a></code>.</li>
<li>Return the new object.</li>
</ol>
@@ -383,11 +383,11 @@
<ol>
<li>If <var title="true">sourceBuffer</var> is null then throw an <code><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-domexception-invalid_access_err">INVALID_ACCESS_ERR</a></code> exception and abort these steps.</li>
<li>If <var title="true">sourceBuffer</var> specifies an object that is not in <code><a href="#dom-sourcebuffers">sourceBuffers</a></code> then throw a <code><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-domexception-not_found_err">NOT_FOUND_ERR</a></code> exception and abort these steps.</li>
- <li>Remove track information from <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-audiotracks">audioTracks</a></code>, <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-videotracks">videoTracks</a></code>, and <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-texttracks">textTracks</a></code> for all tracks associated with <var title="true">sourceBuffer</var> and <a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+ <li>Remove track information from <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-audiotracks">audioTracks</a></code>, <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-videotracks">videoTracks</a></code>, and <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-texttracks">textTracks</a></code> for all tracks associated with <var title="true">sourceBuffer</var> and <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="http://dev.w3.org/html5/spec/media-elements.html#handler-tracklist-onchange">change</a></code> at the modified lists.</li>
- <li>If <var title="true">sourceBuffer</var> is in <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>, then remove it from <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code> and <a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+ <li>If <var title="true">sourceBuffer</var> is in <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>, then remove it from <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code> and <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="#dom-evt-removesourcebuffer">removesourcebuffer</a></code> at <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>.</li>
- <li>Remove <var title="true">sourceBuffer</var> from <code><a href="#dom-sourcebuffers">sourceBuffers</a></code> and <a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+ <li>Remove <var title="true">sourceBuffer</var> from <code><a href="#dom-sourcebuffers">sourceBuffers</a></code> and <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="#dom-evt-removesourcebuffer">removesourcebuffer</a></code> at <code><a href="#dom-sourcebuffers">sourceBuffers</a></code>.</li>
<li>Destroy all resources for <var title="true">sourceBuffer</var>.</li>
</ol>
@@ -424,7 +424,7 @@
<li>If the <code><a href="#dom-readystate">readyState</a></code> attribute is not in the <code><a href="#dom-%22open%22">"open"</a></code> state then throw an <code><a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-domexception-invalid_state_err">INVALID_STATE_ERR</a></code> exception and abort these steps.</li>
<li>Change the <code><a href="#dom-readystate">readyState</a></code> attribute value to <code><a href="#dom-%22ended%22">"ended"</a></code>.</li>
<li>
-<a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+<a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="#dom-evt-sourceended">sourceended</a></code> at the <code><a href="#dom-mediasource">MediaSource</a></code>.</li>
<dl class="switch">
<dt>If <var title="true">error</var> is not set, null, or an empty string</dt>
@@ -513,7 +513,7 @@
<ol>
<li>Set the <code><a href="#dom-readystate">readyState</a></code> attribute to <code><a href="#dom-%22open%22">"open"</a></code>.</li>
<li>
-<a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+<a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="#dom-evt-sourceopen">sourceopen</a></code> at the <code><a href="#dom-mediasource">MediaSource</a></code>.</li>
<li>Allow the <a href="http://dev.w3.org/html5/spec/media-elements.html#concept-media-load-resource">resource fetch algorithm</a> to progress based on data passed in via <code><a href="#dom-append">append()</a></code>.</li>
</ol>
@@ -522,21 +522,21 @@
</ol>
<h4 id="mediasource-detach">3.3.2 Detaching from a media element</h4>
- <p>The following steps are run in any case where the media element is going to transition to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-network_empty">NETWORK_EMPTY</a></code> and <a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+ <p>The following steps are run in any case where the media element is going to transition to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-network_empty">NETWORK_EMPTY</a></code> and <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="http://dev.w3.org/html5/spec/media-elements.html#event-mediacontroller-emptied">emptied</a></code> at the media element. These steps should be run right before the transition.</p>
<ol>
<li>Set the <code><a href="#dom-readystate">readyState</a></code> attribute to <code><a href="#dom-closed">"closed"</a></code>.</li>
<li>Set the <code><a href="#dom-duration">duration</a></code> attribute to NaN.</li>
<li>Remove all the <code><a href="#dom-sourcebuffer">SourceBuffer</a></code> objects from <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>.</li>
<li>
-<a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+<a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="#dom-evt-removesourcebuffer">removesourcebuffer</a></code> at <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>.</li>
<li>Remove all the <code><a href="#dom-sourcebuffer">SourceBuffer</a></code> objects from <code><a href="#dom-sourcebuffers">sourceBuffers</a></code>.</li>
<li>
-<a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+<a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="#dom-evt-removesourcebuffer">removesourcebuffer</a></code> at <code><a href="#dom-sourcebuffers">sourceBuffers</a></code>.</li>
<li>
-<a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+<a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="#dom-evt-sourceclose">sourceclose</a></code> at the <code><a href="#dom-mediasource">MediaSource</a></code>.</li>
</ol>
@@ -573,7 +573,7 @@
<dd>
<ol>
<li>Set the <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-readystate">HTMLMediaElement.readyState</a></code> attribute to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_metadata">HAVE_METADATA</a></code>.</li>
- <li>If this is the first transition to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_metadata">HAVE_METADATA</a></code>, then <a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+ <li>If this is the first transition to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_metadata">HAVE_METADATA</a></code>, then <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="http://dev.w3.org/html5/spec/media-elements.html#event-media-loadedmetadata">loadedmetadata</a></code> at the media element.</li>
<li>Abort these steps.</li>
</ol>
@@ -583,7 +583,7 @@
<ol>
<li>Set the <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-readystate">HTMLMediaElement.readyState</a></code> attribute to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_enough_data">HAVE_ENOUGH_DATA</a></code>.</li>
<li>
-<a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+<a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="http://dev.w3.org/html5/spec/media-elements.html#event-media-canplaythrough">canplaythrough</a></code> at the media element.</li>
<li>Playback may resume at this point if it was previously suspended by a transition to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code>.</li>
<li>Abort these steps.</li>
@@ -593,7 +593,7 @@
<dd>
<ol>
<li>Set the <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-readystate">HTMLMediaElement.readyState</a></code> attribute to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_future_data">HAVE_FUTURE_DATA</a></code>.</li>
- <li>If the previous value of <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-readystate">HTMLMediaElement.readyState</a></code> was less than <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_future_data">HAVE_FUTURE_DATA</a></code>, then <a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+ <li>If the previous value of <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-readystate">HTMLMediaElement.readyState</a></code> was less than <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_future_data">HAVE_FUTURE_DATA</a></code>, then <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="http://dev.w3.org/html5/spec/media-elements.html#event-media-canplay">canplay</a></code> at the media element.</li>
<li>Playback may resume at this point if it was previously suspended by a transition to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code>.</li>
<li>Abort these steps.</li>
@@ -603,7 +603,7 @@
<dd>
<ol>
<li>Set the <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-readystate">HTMLMediaElement.readyState</a></code> attribute to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code>.</li>
- <li>If this is the first transition to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code>, then <a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+ <li>If this is the first transition to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code>, then <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="http://dev.w3.org/html5/spec/media-elements.html#event-media-loadeddata">loadeddata</a></code> at the media element.</li>
<li>Playback is suspended at this point since the media element doesn't have enough data to advance the timeline.</li>
<li>Abort these steps.</li>
@@ -621,7 +621,7 @@
<ol>
<li>Remove the <code><a href="#dom-sourcebuffer">SourceBuffer</a></code> from <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>.</li>
<li>
-<a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+<a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="#dom-evt-removesourcebuffer">removesourcebuffer</a></code> at <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>
</li>
</ol>
@@ -630,7 +630,7 @@
<ol>
<li>Add the <code><a href="#dom-sourcebuffer">SourceBuffer</a></code> to <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>.</li>
<li>
-<a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+<a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="#dom-evt-addsourcebuffer">addsourcebuffer</a></code> at <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>
</li>
</ol>
@@ -643,7 +643,7 @@
<li>Remove the <code><a href="#dom-sourcebuffer">SourceBuffer</a></code> associated with the audio track from <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>
</li>
<li>
-<a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+<a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="#dom-evt-removesourcebuffer">removesourcebuffer</a></code> at <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>
</li>
</ol>
@@ -655,7 +655,7 @@
<li>Add the <code><a href="#dom-sourcebuffer">SourceBuffer</a></code> associated with the audio track to <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>
</li>
<li>
-<a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+<a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="#dom-evt-addsourcebuffer">addsourcebuffer</a></code> at <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>
</li>
</ol>
@@ -666,7 +666,7 @@
<li>Remove the <code><a href="#dom-sourcebuffer">SourceBuffer</a></code> associated with the text track from <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>
</li>
<li>
-<a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+<a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="#dom-evt-removesourcebuffer">removesourcebuffer</a></code> at <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>
</li>
</ol>
@@ -678,7 +678,7 @@
<li>Add the <code><a href="#dom-sourcebuffer">SourceBuffer</a></code> associated with the text track to <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>
</li>
<li>
-<a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+<a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="#dom-evt-addsourcebuffer">addsourcebuffer</a></code> at <code><a href="#dom-activesourcebuffers">activeSourceBuffers</a></code>
</li>
</ol>
@@ -737,7 +737,7 @@
<li>Set the <code><a href="#dom-readystate">readyState</a></code> attribute of <var title="true">media source</var> to <code><a href="#dom-%22open%22">"open"</a></code>
</li>
<li>
-<a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+<a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="#dom-evt-sourceopen">sourceopen</a></code> at <var title="true">media source</var> .</li>
</ol>
</li>
@@ -776,7 +776,7 @@
<ol>
<li>Set the <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-readystate">HTMLMediaElement.readyState</a></code> attribute to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_metadata">HAVE_METADATA</a></code>.</li>
<li>
-<a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+<a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="http://dev.w3.org/html5/spec/media-elements.html#event-media-loadedmetadata">loadedmetadata</a></code> at the media element.</li>
</ol>
</dd>
@@ -828,7 +828,7 @@
<dd>
<ol>
<li>Set the <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-readystate">HTMLMediaElement.readyState</a></code> attribute to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code>.</li>
- <li>If this is the first transition to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code>, then <a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+ <li>If this is the first transition to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code>, then <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="http://dev.w3.org/html5/spec/media-elements.html#event-media-loadeddata">loadeddata</a></code> at the media element.</li>
</ol>
</dd>
@@ -837,7 +837,7 @@
<ol>
<li>Set the <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-readystate">HTMLMediaElement.readyState</a></code> attribute to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_future_data">HAVE_FUTURE_DATA</a></code>.</li>
<li>
-<a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+<a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="http://dev.w3.org/html5/spec/media-elements.html#event-media-canplay">canplay</a></code> at the media element.</li>
</ol>
</dd>
@@ -846,7 +846,7 @@
<ol>
<li>Set the <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-readystate">HTMLMediaElement.readyState</a></code> attribute to <code><a href="http://dev.w3.org/html5/spec/media-elements.html#dom-media-have_enough_data">HAVE_ENOUGH_DATA</a></code>.</li>
<li>
-<a href="http://dev.w3.org/html5/spec/webappapis.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/webappapis.html#fire-a-simple-event">fire a simple event</a> named
+<a href="http://dev.w3.org/html5/spec/textFieldSelection.html#queue-a-task">queue a task</a> to <a href="http://dev.w3.org/html5/spec/textFieldSelection.html#fire-a-simple-event">fire a simple event</a> named
<code><a href="http://dev.w3.org/html5/spec/media-elements.html#event-media-canplaythrough">canplaythrough</a></code> at the media element.</li>
</ol>
</dd>
@@ -927,7 +927,7 @@
<ol>
<li>If <var title="true">mediaSource</var> is NULL the return null.</li>
<li>Return a unique <a href="#mediasource-object-url">MediaSource object URL</a> that can be used to dereference the <var title="true">mediaSource</var> argument, and run the rest of the algorithm asynchronously.</li>
- <li><a href="http://dev.w3.org/html5/spec/webappapis.html#provide-a-stable-state">provide a stable state</a></li>
+ <li><a href="http://dev.w3.org/html5/spec/textFieldSelection.html#provide-a-stable-state">provide a stable state</a></li>
<li>Revoke the <a href="#mediasource-object-url">MediaSource object URL</a> by calling <a href="http://www.w3.org/TR/FileAPI/#dfn-revokeObjectURL">revokeObjectURL()</a> on it.</li>
</ol>
<p class="note">Note: This algorithm is intended to mirror the behavior of the <a href="http://www.w3.org/TR/FileAPI/#">File API</a> <a href="http://www.w3.org/TR/FileAPI/#dfn-createObjectURL">createObjectURL()</a> method with autoRevoke set to true.</p>
--- a/media-source/spec-html.xsl Mon Oct 08 12:29:23 2012 -0700
+++ b/media-source/spec-html.xsl Tue Oct 09 10:29:57 2012 -0700
@@ -671,7 +671,7 @@
<xsl:template name="webappapis_helper">
<xsl:param name="fragment" />
<xsl:param name="link_text" />
- <a><xsl:attribute name="href">http://dev.w3.org/html5/spec/webappapis.html#<xsl:value-of select="$fragment"/></xsl:attribute><xsl:value-of select="$link_text"/></a>
+ <a><xsl:attribute name="href">http://dev.w3.org/html5/spec/textFieldSelection.html#<xsl:value-of select="$fragment"/></xsl:attribute><xsl:value-of select="$link_text"/></a>
</xsl:template>
<xsl:template match="//queue-a-task">
@@ -705,14 +705,6 @@
</xsl:call-template>
</xsl:template>
- <xsl:template match="//provide-a-stable-state">
- <xsl:call-template name="webappapis_helper">
- <xsl:with-param name="fragment">provide-a-stable-state</xsl:with-param>
- <xsl:with-param name="link_text">provide a stable state</xsl:with-param>
- </xsl:call-template>
- </xsl:template>
-
-
<xsl:template name="webmref_helper">
<xsl:param name="fragment" />
<xsl:param name="link_text" />