Browse files

[gow] (2) Make changing src='' call load().

git-svn-id: http://svn.whatwg.org/webapps@4131 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent e13bd7d commit fb72a50414502065b5aa9e66be1c0655536c9220 @Hixie Hixie committed Oct 14, 2009
Showing with 24 additions and 25 deletions.
  1. +8 −8 complete.html
  2. +8 −8 index
  3. +8 −9 source
View
16 complete.html
@@ -22066,11 +22066,8 @@ <h5 id=error-codes><span class=secno>4.8.10.1 </span>Error codes</h5>
<div class=impl>
<p>If a <code title=attr-media-src><a href=#attr-media-src>src</a></code> attribute of a
- <a href=#media-element>media element</a> that is <a href=#in-a-document>in a
- <code>Document</code></a> and whose <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> has the value
- <code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code> is set or
- changed, the user agent must invoke the <a href=#media-element>media element</a>'s
- <a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource selection
+ <a href=#media-element>media element</a> is set or changed, the user agent must
+ invoke the <a href=#media-element>media element</a>'s <a href=#media-element-load-algorithm>media element load
algorithm</a>. (<em>Removing</em> the <code title=attr-media-src><a href=#attr-media-src>src</a></code> attribute does not do this, even
if there are <code><a href=#the-source-element>source</a></code> elements present.)</p>
@@ -22281,9 +22278,12 @@ <h5 id=loading-the-media-resource><span class=secno>4.8.10.5 </span>Loading the
<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>
- method itself is invoked again.</p>
+ must run the <a href=#media-element-load-algorithm>media element load algorithm</a>.</p>
+
+ <p>The <dfn id=media-element-load-algorithm>media element load algorithm</dfn> consists of 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> method itself is
+ invoked again.</p>
<ol><li><p>If the <code title=dom-media-load><a href=#dom-media-load>load()</a></code> method for
this element is already being invoked, then abort these
View
16 index
@@ -21894,11 +21894,8 @@ interface <dfn>CueRangeCallback</dfn> {
<div class=impl>
<p>If a <code title=attr-media-src><a href=#attr-media-src>src</a></code> attribute of a
- <a href=#media-element>media element</a> that is <a href=#in-a-document>in a
- <code>Document</code></a> and whose <code title=dom-media-networkState><a href=#dom-media-networkstate>networkState</a></code> has the value
- <code title=dom-media-NETWORK_EMPTY><a href=#dom-media-network_empty>NETWORK_EMPTY</a></code> is set or
- changed, the user agent must invoke the <a href=#media-element>media element</a>'s
- <a href=#concept-media-load-algorithm title=concept-media-load-algorithm>resource selection
+ <a href=#media-element>media element</a> is set or changed, the user agent must
+ invoke the <a href=#media-element>media element</a>'s <a href=#media-element-load-algorithm>media element load
algorithm</a>. (<em>Removing</em> the <code title=attr-media-src><a href=#attr-media-src>src</a></code> attribute does not do this, even
if there are <code><a href=#the-source-element>source</a></code> elements present.)</p>
@@ -22109,9 +22106,12 @@ interface <dfn>CueRangeCallback</dfn> {
<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>
- method itself is invoked again.</p>
+ must run the <a href=#media-element-load-algorithm>media element load algorithm</a>.</p>
+
+ <p>The <dfn id=media-element-load-algorithm>media element load algorithm</dfn> consists of 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> method itself is
+ invoked again.</p>
<ol><li><p>If the <code title=dom-media-load><a href=#dom-media-load>load()</a></code> method for
this element is already being invoked, then abort these
View
17 source
@@ -23540,12 +23540,8 @@ interface <dfn>CueRangeCallback</dfn> {
<div class="impl">
<p>If a <code title="attr-media-src">src</code> attribute of a
- <span>media element</span> that is <span>in a
- <code>Document</code></span> and whose <code
- title="dom-media-networkState">networkState</code> has the value
- <code title="dom-media-NETWORK_EMPTY">NETWORK_EMPTY</code> is set or
- changed, the user agent must invoke the <span>media element</span>'s
- <span title="concept-media-load-algorithm">resource selection
+ <span>media element</span> is set or changed, the user agent must
+ invoke the <span>media element</span>'s <span>media element load
algorithm</span>. (<em>Removing</em> the <code
title="attr-media-src">src</code> attribute does not do this, even
if there are <code>source</code> elements present.)</p>
@@ -23789,9 +23785,12 @@ interface <dfn>CueRangeCallback</dfn> {
<p>When the <dfn title="dom-media-load"><code>load()</code></dfn>
method on a <span>media element</span> 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">load()</code>
- method itself is invoked again.</p>
+ must run the <span>media element load algorithm</span>.</p>
+
+ <p>The <dfn>media element load algorithm</dfn> consists of the
+ following steps. Note that this algorithm might get aborted, e.g. if
+ the <code title="dom-media-load">load()</code> method itself is
+ invoked again.</p>
<ol>

0 comments on commit fb72a50

Please sign in to comment.