[html5] r2076 - [] (0) Tasks for the media element new resource task source.

whatwg at whatwg.org whatwg at whatwg.org
Sun Aug 17 21:24:47 PDT 2008


Author: ianh
Date: 2008-08-17 21:24:46 -0700 (Sun, 17 Aug 2008)
New Revision: 2076

Modified:
   index
   source
Log:
[] (0) Tasks for the media element new resource task source.

Modified: index
===================================================================
--- index	2008-08-16 01:29:11 UTC (rev 2075)
+++ index	2008-08-18 04:24:46 UTC (rev 2076)
@@ -28,7 +28,7 @@
 
    <h1 id=html-5>HTML 5</h1>
 
-   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 16 August
+   <h2 class="no-num no-toc" id=draft>Draft Recommendation — 18 August
     2008</h2>
 
    <p>You can take part in this work. <a
@@ -18651,11 +18651,12 @@
    whose <code title=dom-media-networkState><a
    href="#networkstate">networkState</a></code> is in the <code
    title=dom-media-EMPTY><a href="#empty">EMPTY</a></code> state, the user
-   agent must implicitly invoke the <code title=dom-media-load><a
-   href="#load">load()</a></code> method on the <a href="#media7">media
-   element</a> as soon as all other scripts have finished executing. Any
-   exceptions raised must be ignored.</p>
-  <!-- XXX queue -->
+   agent must <a href="#queue">queue a task</a> that implicitly invokes the
+   <code title=dom-media-load><a href="#load">load()</a></code> method on the
+   <a href="#media7">media element</a>, and ignores any resulting exceptions.
+   The <a href="#task-source">task source</a> for this task is the <a
+   href="#media7">media element</a>'s own <span>new resource task
+   source</span>.
 
   <p>The DOM attributes <dfn id=src6
    title=dom-source-src><code>src</code></dfn>, <dfn id=type9
@@ -18843,12 +18844,13 @@
    document and whose <code title=dom-media-networkState><a
    href="#networkstate">networkState</a></code> is in the <code
    title=dom-media-EMPTY><a href="#empty">EMPTY</a></code> state is added,
-   changed, or removed, the user agent must implicitly invoke the <code
-   title=dom-media-load><a href="#load">load()</a></code> method on the <a
-   href="#media7">media element</a> as soon as all other scripts have
-   finished executing. Any exceptions raised must be ignored.</p>
-  <!-- XXX queue
-  -->
+   changed, or removed, the user agent must <a href="#queue">queue a task</a>
+   that implicitly invokes the <code title=dom-media-load><a
+   href="#load">load()</a></code> method on the <a href="#media7">media
+   element</a>, and ignores any resulting exceptions. The <a
+   href="#task-source">task source</a> for this task is the <a
+   href="#media7">media element</a>'s own <span>new resource task
+   source</span>.
 
   <p class=note>If a <code title=attr-media-src><a
    href="#src7">src</a></code> attribute is specified, the resource it
@@ -19411,11 +19413,13 @@
    title=dom-media-networkState><a
    href="#networkstate">networkState</a></code> has the value <code
    title=dom-media-EMPTY><a href="#empty">EMPTY</a></code> is inserted into a
-   document, user agents must implicitly invoke the <code
-   title=dom-media-load><a href="#load">load()</a></code> method on the <a
-   href="#media7">media element</a> as soon as all other scripts have
-   finished executing<!-- XXX queue; phrase that better? -->. Any exceptions
-   raised must be ignored.
+   document, the user agent must <a href="#queue">queue a task</a> that
+   implicitly invokes the <code title=dom-media-load><a
+   href="#load">load()</a></code> method on the <a href="#media7">media
+   element</a>, and ignores any resulting exceptions. The <a
+   href="#task-source">task source</a> for this task is the <a
+   href="#media7">media element</a>'s own <span>new resource task
+   source</span>.
 
   <p>The <dfn id=bufferingrate
    title=dom-media-bufferingRate><code>bufferingRate</code></dfn> attribute
@@ -32777,6 +32781,12 @@
     <p>When an algorithm <a href="#fetch" title=fetch>fetches</a> a resource,
      if the fetching occurs asynchronously then the processing of the
      resource once some or all of the resource is available is a task.
+
+   <dt>Reacting to DOM manipulation
+
+   <dd>
+    <p>Some elements have tasks that trigger in response to DOM manipulation,
+     e.g. when that element is inserted into the document.</p>
   </dl>
 
   <p>When a user agent is to <dfn id=queue>queue a task</dfn>, it must add

Modified: source
===================================================================
--- source	2008-08-16 01:29:11 UTC (rev 2075)
+++ source	2008-08-18 04:24:46 UTC (rev 2076)
@@ -16163,10 +16163,11 @@
   element</span> that is already in a document and whose <code
   title="dom-media-networkState">networkState</code> is in the <code
   title="dom-media-EMPTY">EMPTY</code> state, the user agent must
-  implicitly invoke the <code title="dom-media-load">load()</code>
-  method on the <span>media element</span> as soon as all other
-  scripts have finished executing. Any exceptions raised must be
-  ignored.</p><!-- XXX queue -->
+  <span>queue a task</span> that implicitly invokes the <code
+  title="dom-media-load">load()</code> method on the <span>media
+  element</span>, and ignores any resulting exceptions. The <span>task
+  source</span> for this task is the <span>media element</span>'s own
+  <span>new resource task source</span>.</p>
 
   <p>The DOM attributes <dfn
   title="dom-source-src"><code>src</code></dfn>, <dfn
@@ -16355,11 +16356,12 @@
   <span>media element</span> that is already in a document and whose
   <code title="dom-media-networkState">networkState</code> is in the
   <code title="dom-media-EMPTY">EMPTY</code> state is added, changed,
-  or removed, the user agent must implicitly invoke the <code
-  title="dom-media-load">load()</code> method on the <span>media
-  element</span> as soon as all other scripts have finished
-  executing. Any exceptions raised must be ignored.</p> <!-- XXX queue
-  -->
+  or removed, the user agent must <span>queue a task</span> that
+  implicitly invokes the <code title="dom-media-load">load()</code>
+  method on the <span>media element</span>, and ignores any resulting
+  exceptions. The <span>task source</span> for this task is the
+  <span>media element</span>'s own <span>new resource task
+  source</span>.</p>
 
   <p class="note">If a <code title="attr-media-src">src</code>
   attribute is specified, the resource it specifies is the <span>media
@@ -16923,11 +16925,12 @@
   <p>If a <span>media element</span> whose <code
   title="dom-media-networkState">networkState</code> has the value
   <code title="dom-media-EMPTY">EMPTY</code> is inserted into a
-  document, user agents must implicitly invoke the <code
-  title="dom-media-load">load()</code> method on the <span>media
-  element</span> as soon as all other scripts have finished
-  executing<!-- XXX queue; phrase that better? -->. Any exceptions
-  raised must be ignored.</p>
+  document, the user agent must <span>queue a task</span> that
+  implicitly invokes the <code title="dom-media-load">load()</code>
+  method on the <span>media element</span>, and ignores any resulting
+  exceptions. The <span>task source</span> for this task is the
+  <span>media element</span>'s own <span>new resource task
+  source</span>.</p>
 
   <p>The <dfn
   title="dom-media-bufferingRate"><code>bufferingRate</code></dfn>
@@ -30048,6 +30051,13 @@
    of the resource once some or all of the resource is available is a
    task.</p></dd>
 
+
+   <dt>Reacting to DOM manipulation</dt>
+
+   <dd><p>Some elements have tasks that trigger in response to DOM
+   manipulation, e.g. when that element is inserted into the
+   document.</p>
+
   </dl>
 
   <p>When a user agent is to <dfn>queue a task</dfn>, it must add the




More information about the Commit-Watchers mailing list