- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 18 Aug 2008 21:27:17 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv18999
Modified Files:
Overview.html
Log Message:
Make it so that multiple pending load()s are coallesced into one. (credit: pj) (whatwg r2079)
Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1251
retrieving revision 1.1252
diff -u -d -r1.1251 -r1.1252
--- Overview.html 18 Aug 2008 21:16:26 -0000 1.1251
+++ Overview.html 18 Aug 2008 21:27:15 -0000 1.1252
@@ -18697,8 +18697,8 @@
<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>.
+ href="#media7">media element</a>'s own <a href="#new-resource">new
+ resource task source</a>.
<p>The DOM attributes <dfn id=src6
title=dom-source-src><code>src</code></dfn>, <dfn id=type9
@@ -18891,8 +18891,8 @@
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>.
+ href="#media7">media element</a>'s own <a href="#new-resource">new
+ resource task source</a>.
<p class=note>If a <code title=attr-media-src><a
href="#src7">src</a></code> attribute is specified, the resource it
@@ -19079,6 +19079,12 @@
<ol>
<li>
+ <p>If there are any <a href="#tasks" title=concept-task>tasks</a> from
+ the <a href="#media7">media element</a>'s own <dfn id=new-resource>new
+ resource task source</dfn> in one of the <a href="#task-queues"
+ title="task queue">task queues</a>, then remove those tasks.
+
+ <li>
<p>Any already-running instance of this algorithm for this element must
be aborted. If those method calls have not yet returned, they must
finish the step they are on, and then immediately return. This is not
@@ -19460,8 +19466,8 @@
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>.
+ href="#media7">media element</a>'s own <a href="#new-resource">new
+ resource task source</a>.
<p>The <dfn id=bufferingrate
title=dom-media-bufferingRate><code>bufferingRate</code></dfn> attribute
Received on Monday, 18 August 2008 21:27:53 UTC