Skip to content

Commit

Permalink
[] (0) Tasks for the media element new resource task source.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2076 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 18, 2008
1 parent 3652763 commit 3600068
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 31 deletions.
44 changes: 27 additions & 17 deletions index
Expand Up @@ -28,7 +28,7 @@


<h1 id=html-5>HTML 5</h1> <h1 id=html-5>HTML 5</h1>


<h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 16 August <h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 18 August
2008</h2> 2008</h2>


<p>You can take part in this work. <a <p>You can take part in this work. <a
Expand Down Expand Up @@ -18651,11 +18651,12 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href="#htmlmediae
whose <code title=dom-media-networkState><a whose <code title=dom-media-networkState><a
href="#networkstate">networkState</a></code> is in the <code href="#networkstate">networkState</a></code> is in the <code
title=dom-media-EMPTY><a href="#empty">EMPTY</a></code> state, the user title=dom-media-EMPTY><a href="#empty">EMPTY</a></code> state, the user
agent must implicitly invoke the <code title=dom-media-load><a agent must <a href="#queue">queue a task</a> that implicitly invokes the
href="#load">load()</a></code> method on the <a href="#media7">media <code title=dom-media-load><a href="#load">load()</a></code> method on the
element</a> as soon as all other scripts have finished executing. Any <a href="#media7">media element</a>, and ignores any resulting exceptions.
exceptions raised must be ignored.</p> The <a href="#task-source">task source</a> for this task is the <a
<!-- XXX queue --> href="#media7">media element</a>'s own <span>new resource task
source</span>.


<p>The DOM attributes <dfn id=src6 <p>The DOM attributes <dfn id=src6
title=dom-source-src><code>src</code></dfn>, <dfn id=type9 title=dom-source-src><code>src</code></dfn>, <dfn id=type9
Expand Down Expand Up @@ -18843,12 +18844,13 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href="#htmlmediae
document and whose <code title=dom-media-networkState><a document and whose <code title=dom-media-networkState><a
href="#networkstate">networkState</a></code> is in the <code href="#networkstate">networkState</a></code> is in the <code
title=dom-media-EMPTY><a href="#empty">EMPTY</a></code> state is added, title=dom-media-EMPTY><a href="#empty">EMPTY</a></code> state is added,
changed, or removed, the user agent must implicitly invoke the <code changed, or removed, the user agent must <a href="#queue">queue a task</a>
title=dom-media-load><a href="#load">load()</a></code> method on the <a that implicitly invokes the <code title=dom-media-load><a
href="#media7">media element</a> as soon as all other scripts have href="#load">load()</a></code> method on the <a href="#media7">media
finished executing. Any exceptions raised must be ignored.</p> element</a>, and ignores any resulting exceptions. The <a
<!-- XXX queue 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 <p class=note>If a <code title=attr-media-src><a
href="#src7">src</a></code> attribute is specified, the resource it href="#src7">src</a></code> attribute is specified, the resource it
Expand Down Expand Up @@ -19411,11 +19413,13 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href="#htmlmediae
title=dom-media-networkState><a title=dom-media-networkState><a
href="#networkstate">networkState</a></code> has the value <code href="#networkstate">networkState</a></code> has the value <code
title=dom-media-EMPTY><a href="#empty">EMPTY</a></code> is inserted into a title=dom-media-EMPTY><a href="#empty">EMPTY</a></code> is inserted into a
document, user agents must implicitly invoke the <code document, the user agent must <a href="#queue">queue a task</a> that
title=dom-media-load><a href="#load">load()</a></code> method on the <a implicitly invokes the <code title=dom-media-load><a
href="#media7">media element</a> as soon as all other scripts have href="#load">load()</a></code> method on the <a href="#media7">media
finished executing<!-- XXX queue; phrase that better? -->. Any exceptions element</a>, and ignores any resulting exceptions. The <a
raised must be ignored. 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 <p>The <dfn id=bufferingrate
title=dom-media-bufferingRate><code>bufferingRate</code></dfn> attribute title=dom-media-bufferingRate><code>bufferingRate</code></dfn> attribute
Expand Down Expand Up @@ -32777,6 +32781,12 @@ never reset. This is nice and consistent.)
<p>When an algorithm <a href="#fetch" title=fetch>fetches</a> a resource, <p>When an algorithm <a href="#fetch" title=fetch>fetches</a> a resource,
if the fetching occurs asynchronously then the processing of the if the fetching occurs asynchronously then the processing of the
resource once some or all of the resource is available is a task. 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> </dl>


<p>When a user agent is to <dfn id=queue>queue a task</dfn>, it must add <p>When a user agent is to <dfn id=queue>queue a task</dfn>, it must add
Expand Down
38 changes: 24 additions & 14 deletions source
Expand Up @@ -16163,10 +16163,11 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
element</span> that is already in a document and whose <code element</span> that is already in a document and whose <code
title="dom-media-networkState">networkState</code> is in the <code title="dom-media-networkState">networkState</code> is in the <code
title="dom-media-EMPTY">EMPTY</code> state, the user agent must title="dom-media-EMPTY">EMPTY</code> state, the user agent must
implicitly invoke the <code title="dom-media-load">load()</code> <span>queue a task</span> that implicitly invokes the <code
method on the <span>media element</span> as soon as all other title="dom-media-load">load()</code> method on the <span>media
scripts have finished executing. Any exceptions raised must be element</span>, and ignores any resulting exceptions. The <span>task
ignored.</p><!-- XXX queue --> 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 <p>The DOM attributes <dfn
title="dom-source-src"><code>src</code></dfn>, <dfn title="dom-source-src"><code>src</code></dfn>, <dfn
Expand Down Expand Up @@ -16355,11 +16356,12 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
<span>media element</span> that is already in a document and whose <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-networkState">networkState</code> is in the
<code title="dom-media-EMPTY">EMPTY</code> state is added, changed, <code title="dom-media-EMPTY">EMPTY</code> state is added, changed,
or removed, the user agent must implicitly invoke the <code or removed, the user agent must <span>queue a task</span> that
title="dom-media-load">load()</code> method on the <span>media implicitly invokes the <code title="dom-media-load">load()</code>
element</span> as soon as all other scripts have finished method on the <span>media element</span>, and ignores any resulting
executing. Any exceptions raised must be ignored.</p> <!-- XXX queue 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> <p class="note">If a <code title="attr-media-src">src</code>
attribute is specified, the resource it specifies is the <span>media attribute is specified, the resource it specifies is the <span>media
Expand Down Expand Up @@ -16923,11 +16925,12 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {
<p>If a <span>media element</span> whose <code <p>If a <span>media element</span> whose <code
title="dom-media-networkState">networkState</code> has the value title="dom-media-networkState">networkState</code> has the value
<code title="dom-media-EMPTY">EMPTY</code> is inserted into a <code title="dom-media-EMPTY">EMPTY</code> is inserted into a
document, user agents must implicitly invoke the <code document, the user agent must <span>queue a task</span> that
title="dom-media-load">load()</code> method on the <span>media implicitly invokes the <code title="dom-media-load">load()</code>
element</span> as soon as all other scripts have finished method on the <span>media element</span>, and ignores any resulting
executing<!-- XXX queue; phrase that better? -->. Any exceptions exceptions. The <span>task source</span> for this task is the
raised must be ignored.</p> <span>media element</span>'s own <span>new resource task
source</span>.</p>


<p>The <dfn <p>The <dfn
title="dom-media-bufferingRate"><code>bufferingRate</code></dfn> title="dom-media-bufferingRate"><code>bufferingRate</code></dfn>
Expand Down Expand Up @@ -30048,6 +30051,13 @@ never reset. This is nice and consistent.)
of the resource once some or all of the resource is available is a of the resource once some or all of the resource is available is a
task.</p></dd> 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> </dl>


<p>When a user agent is to <dfn>queue a task</dfn>, it must add the <p>When a user agent is to <dfn>queue a task</dfn>, it must add the
Expand Down

0 comments on commit 3600068

Please sign in to comment.