- From: poot <cvsmail@w3.org>
- Date: Wed, 14 Oct 2009 17:43:50 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Make changing src='' call load(). (whatwg r4131) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3284&r2=1.3285&f=h http://html5.org/tools/web-apps-tracker?from=4130&to=4131 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3284 retrieving revision 1.3285 diff -u -d -r1.3284 -r1.3285 --- Overview.html 14 Oct 2009 00:01:18 -0000 1.3284 +++ Overview.html 14 Oct 2009 08:43:35 -0000 1.3285 @@ -19141,11 +19141,8 @@ attribute, if present, must contain a <a href="#valid-url">valid URL</a>.<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> @@ -19318,9 +19315,12 @@ <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
Received on Wednesday, 14 October 2009 08:44:20 UTC