[html5] r2847 - [gw] (2) Define that <video> and <audio> delay the 'load' event.

whatwg at whatwg.org whatwg at whatwg.org
Sun Feb 22 01:24:33 PST 2009


Author: ianh
Date: 2009-02-22 01:24:32 -0800 (Sun, 22 Feb 2009)
New Revision: 2847

Modified:
   index
   source
Log:
[gw] (2) Define that <video> and <audio> delay the 'load' event.

Modified: index
===================================================================
--- index	2009-02-20 03:16:56 UTC (rev 2846)
+++ index	2009-02-22 09:24:32 UTC (rev 2847)
@@ -34,7 +34,7 @@
   <div class=head>
    <p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
    <h1>HTML 5</h1>
-   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 20 February 2009</h2>
+   <h2 class="no-num no-toc" id=draft-recommendation-—-date:-01-jan-1901>Draft Recommendation — 22 February 2009</h2>
    <p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
    <p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
    <dl><dt>Multiple-page version:</dt>
@@ -18546,8 +18546,11 @@
   <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>
+  <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>
 
   <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
@@ -18575,6 +18578,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>,
@@ -18782,6 +18789,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
@@ -18816,6 +18827,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>
@@ -18845,6 +18860,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>
@@ -18883,6 +18902,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>
@@ -18940,6 +18963,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

Modified: source
===================================================================
--- source	2009-02-20 03:16:56 UTC (rev 2846)
+++ source	2009-02-22 09:24:32 UTC (rev 2847)
@@ -19903,8 +19903,11 @@
   <h5>Loading the media resource</h5>
 
   <p>All <span title="media element">media elements</span> have a
-  <dfn>begun flag</dfn>, which must begin in the false state, and an
-  <dfn>autoplaying flag</dfn>, which must begin in the true state.</p>
+  <dfn>begun flag</dfn>, which must begin in the false state, an
+  <dfn>autoplaying flag</dfn>, which must begin in the true state, and
+  a <dfn>delaying-the-load-event flag</dfn>, which must begin in the
+  false state. While the <span>delaying-the-load-event flag</span> is
+  true, the element must <span>delay the load event</span>.</p>
 
   <p>When the <dfn title="dom-media-load"><code>load()</code></dfn>
   method on a <span>media element</span> is invoked, the user agent
@@ -19934,6 +19937,10 @@
    is not blocking; this algorithm must not wait for the earlier
    instances to abort before continuing.</p></li>
 
+   <li><p>Set the element's <span>delaying-the-load-event flag</span>
+   to true. This <span title="delay the load event">delays the load
+   event</span>.</p></li>
+
    <li><p>If the element's <span>begun flag</span> is true, then set
    the <span>begun flag</span> to false, set the <code
    title="dom-media-error">error</code> attribute to a new
@@ -20188,6 +20195,10 @@
 
          </li>
 
+         <li><p>Set the element's <span>delaying-the-load-event
+         flag</span> to false. This stops <span title="delay the load
+         event">delaying the load event</span>.</p></li>
+
         </ol>
 
         <p class="note">The user agent is <em>required</em> to
@@ -20231,6 +20242,10 @@
          event</span> called <code
          title="event-emptied">emptied</code> at the element.</li>
 
+         <li><p>Set the element's <span>delaying-the-load-event
+         flag</span> to false. This stops <span title="delay the load
+         event">delaying the load event</span>.</p></li>
+
          <li>Abort the overall <code
          title="dom-media-load">load()</code> method algorithm.</li>
 
@@ -20271,6 +20286,10 @@
          event</span> called <code
          title="event-emptied">emptied</code> at the element.</li>
 
+         <li><p>Set the element's <span>delaying-the-load-event
+         flag</span> to false. This stops <span title="delay the load
+         event">delaying the load event</span>.</p></li>
+
          <li>Abort the overall <code
          title="dom-media-load">load()</code> method algorithm.</li>
 
@@ -20322,6 +20341,10 @@
          doesn't happen; the available data, if any, will be
          playable.)</li>
 
+         <li><p>Set the element's <span>delaying-the-load-event
+         flag</span> to false. This stops <span title="delay the load
+         event">delaying the load event</span>.</p></li>
+
          <li>Abort the overall <code
          title="dom-media-load">load()</code> method algorithm.</li>
 
@@ -20398,6 +20421,10 @@
      event</span> called <code title="event-emptied">emptied</code> at
      the element.</li>
 
+     <li><p>Set the element's <span>delaying-the-load-event
+     flag</span> to false. This stops <span title="delay the load
+     event">delaying the load event</span>.</p></li>
+
     </ol>
 
    </li>




More information about the Commit-Watchers mailing list