- From: poot <cvsmail@w3.org>
- Date: Tue, 02 Aug 2011 19:57:18 -0400
- To: public-html-diffs@w3.org
hixie: Explicitly allow 'suspend' before 'fetch' (for preload=none in
particular). (whatwg r6352)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5074&r2=1.5075&f=h
http://html5.org/tools/web-apps-tracker?from=6351&to=6352
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.5074
retrieving revision 1.5075
diff -u -d -r1.5074 -r1.5075
--- Overview.html 2 Aug 2011 23:43:54 -0000 1.5074
+++ Overview.html 2 Aug 2011 23:57:07 -0000 1.5075
@@ -22535,6 +22535,26 @@
algorithm. This is now the element's <a href="#media-resource">media
resource</a>.</li>
+ <li><p>Optionally, run the following substeps. This is the expected
+ behavior if the user agent intends to not attempt to fetch the
+ resource until the use requests it explicitly (e.g. as a way to
+ implement the <code title="attr-media-preload"><a href="#attr-media-preload">preload</a></code>
+ attribute's <code title="attr-media-preload-none"><a href="#attr-media-preload-none">none</a></code>
+ keyword).</p>
+
+ <ol><li><p>Set the <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> to <code title="dom-media-NETWORK_IDLE"><a href="#dom-media-network_idle">NETWORK_IDLE</a></code>.</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-suspend"><a href="#event-media-suspend">suspend</a></code> at the
+ element.</li>
+
+ <li><p>Wait for an implementation-defined event (e.g. the user
+ requesting that the media element begin playback).</li>
+
+ <li><p>Set the <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> to <code title="dom-media-NETWORK_LOADING"><a href="#dom-media-network_loading">NETWORK_LOADING</a></code>.</li>
+
+ </ol></li>
+
<li>
<p>Perform a <a href="#potentially-cors-enabled-fetch">potentially CORS-enabled fetch</a> of the
Received on Tuesday, 2 August 2011 23:57:22 UTC