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

whatwg at whatwg.org whatwg at whatwg.org
Wed Oct 14 01:54:58 PDT 2009


Author: ianh
Date: 2009-10-14 01:54:57 -0700 (Wed, 14 Oct 2009)
New Revision: 4131

Modified:
   complete.html
   index
   source
Log:
[gow] (2) Make changing src='' call load().

Modified: complete.html
===================================================================
--- complete.html	2009-10-14 00:12:35 UTC (rev 4130)
+++ complete.html	2009-10-14 08:54:57 UTC (rev 4131)
@@ -22066,11 +22066,8 @@
   <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,10 +22278,13 @@
 
   <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
    steps.</li>

Modified: index
===================================================================
--- index	2009-10-14 00:12:35 UTC (rev 4130)
+++ index	2009-10-14 08:54:57 UTC (rev 4131)
@@ -21894,11 +21894,8 @@
   <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,10 +22106,13 @@
 
   <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
    steps.</li>

Modified: source
===================================================================
--- source	2009-10-14 00:12:35 UTC (rev 4130)
+++ source	2009-10-14 08:54:57 UTC (rev 4131)
@@ -23540,12 +23540,8 @@
   <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,10 +23785,13 @@
 
   <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>
 
    <li><p>If the <code title="dom-media-load">load()</code> method for




More information about the Commit-Watchers mailing list