- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Sun, 22 Feb 2009 09:24:42 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv13350 Modified Files: Overview.html Log Message: Define that <video> and <audio> delay the 'load' event. (whatwg r2847) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2017 retrieving revision 1.2018 diff -u -d -r1.2017 -r1.2018 --- Overview.html 20 Feb 2009 03:17:02 -0000 1.2017 +++ Overview.html 22 Feb 2009 09:24:38 -0000 1.2018 @@ -10,7 +10,7 @@ <p><a href=http://www.w3.org/><img alt=W3C height=48 src=http://www.w3.org/Icons/w3c_home width=72></a></p> <h1>HTML 5</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=w3c-working-draft-12-february-year><!--ZZZ:--> W3C Working Draft 12 February 2009<!-- fix date ZZZ --><!-- Editor's Draft 20 February 2009 --><!--:ZZZ--></h2> + <h2 class="no-num no-toc" id=w3c-working-draft-12-february-year><!--ZZZ:--> W3C Working Draft 12 February 2009<!-- fix date ZZZ --><!-- Editor's Draft 22 February 2009 --><!--:ZZZ--></h2> <dl><!-- ZZZ: update the month/day (twice), uncomment out --><dt>This Version:</dt> <dd><a href=http://www.w3.org/TR/2009/WD-html5-20090212/>http://www.w3.org/TR/2009/WD-html5-20090212/</a></dd> <!-- :ZZZ --> @@ -100,7 +100,7 @@ track. <!--ZZZ:--> This specification is the 12 February 2009 Working Draft. - <!-- This specification is the 20 February 2009 Editor's Draft. --> + <!-- This specification is the 22 February 2009 Editor's Draft. --> <!--:ZZZ--> </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>This specification is also being produced by the <a href=http://www.whatwg.org/>WHATWG</a>. The two specifications are identical from the table of contents onwards.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- context and rationale (required) --><p>This specification is intended to replace (be a new version of) @@ -15156,8 +15156,11 @@ method defined below describes exactly when the <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> attribute changes value and what events fire to indicate changes in this state.<p class=note>Some resources, e.g. streaming Web radio, can never reach the <code title=dom-media-NETWORK_LOADED><a href=#dom-media-network_loaded>NETWORK_LOADED</a></code> state.<h5 id=loading-the-media-resource><span class=secno>4.8.10.5 </span>Loading the media resource</h5><p>All <a href=#media-element title="media element">media elements</a> have a - <dfn id=begun-flag>begun flag</dfn>, which must begin in the false state, and an - <dfn id=autoplaying-flag>autoplaying flag</dfn>, which must begin in the true state.<p>When the <dfn id=dom-media-load title=dom-media-load><code>load()</code></dfn> + <dfn id=begun-flag>begun flag</dfn>, which must begin in the false state, an + <dfn id=autoplaying-flag>autoplaying flag</dfn>, which must begin in the true state, and + a <dfn id=delaying-the-load-event-flag>delaying-the-load-event flag</dfn>, which must begin in the + false state. While the <a href=#delaying-the-load-event-flag>delaying-the-load-event flag</a> is + true, the element must <a href=#delay-the-load-event>delay the load event</a>.<p>When the <dfn id=dom-media-load title=dom-media-load><code>load()</code></dfn> method on a <a href=#media-element>media element</a> is invoked, the user agent must run the following steps. Note that this algorithm might get aborted, e.g. if the <code title=dom-media-load><a href=#dom-media-load>load()</a></code> @@ -15181,6 +15184,10 @@ is not blocking; this algorithm must not wait for the earlier instances to abort before continuing.</li> + <li><p>Set the element's <a href=#delaying-the-load-event-flag>delaying-the-load-event flag</a> + to true. This <a href=#delay-the-load-event title="delay the load event">delays the load + event</a>.</li> + <li><p>If the element's <a href=#begun-flag>begun flag</a> is true, then set the <a href=#begun-flag>begun flag</a> to false, set the <code title=dom-media-error><a href=#dom-media-error>error</a></code> attribute to a new <code><a href=#mediaerror>MediaError</a></code> object whose <code title=dom-MediaError-code><a href=#dom-mediaerror-code>code</a></code> attribute is set to <code title=dom-MediaError-MEDIA_ERR_ABORTED><a href=#dom-mediaerror-media_err_aborted>MEDIA_ERR_ABORTED</a></code>, @@ -15388,6 +15395,10 @@ </li> + <li><p>Set the element's <a href=#delaying-the-load-event-flag>delaying-the-load-event + flag</a> to false. This stops <a href=#delay-the-load-event title="delay the load + event">delaying the load event</a>.</li> + </ol><p class=note>The user agent is <em>required</em> to determine the duration of the <a href=#media-resource>media resource</a> and go through this step before playing.</p> <!-- actually defined @@ -15422,6 +15433,10 @@ and <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> called <code title=event-emptied><a href=#event-emptied>emptied</a></code> at the element.</li> + <li><p>Set the element's <a href=#delaying-the-load-event-flag>delaying-the-load-event + flag</a> to false. This stops <a href=#delay-the-load-event title="delay the load + event">delaying the load event</a>.</li> + <li>Abort the overall <code title=dom-media-load><a href=#dom-media-load>load()</a></code> method algorithm.</li> </ol></dd> @@ -15451,6 +15466,10 @@ and <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a> called <code title=event-emptied><a href=#event-emptied>emptied</a></code> at the element.</li> + <li><p>Set the element's <a href=#delaying-the-load-event-flag>delaying-the-load-event + flag</a> to false. This stops <a href=#delay-the-load-event title="delay the load + event">delaying the load event</a>.</li> + <li>Abort the overall <code title=dom-media-load><a href=#dom-media-load>load()</a></code> method algorithm.</li> </ol></dd> @@ -15489,6 +15508,10 @@ doesn't happen; the available data, if any, will be playable.)</li> + <li><p>Set the element's <a href=#delaying-the-load-event-flag>delaying-the-load-event + flag</a> to false. This stops <a href=#delay-the-load-event title="delay the load + event">delaying the load event</a>.</li> + <li>Abort the overall <code title=dom-media-load><a href=#dom-media-load>load()</a></code> method algorithm.</li> </ol></dd> @@ -15546,6 +15569,10 @@ event</a> called <code title=event-emptied><a href=#event-emptied>emptied</a></code> at the element.</li> + <li><p>Set the element's <a href=#delaying-the-load-event-flag>delaying-the-load-event + flag</a> to false. This stops <a href=#delay-the-load-event title="delay the load + event">delaying the load event</a>.</li> + </ol></li> </ol><p>If a <a href=#media-element>media element</a> whose <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> has the value
Received on Sunday, 22 February 2009 09:24:50 UTC