- From: poot <cvsmail@w3.org>
- Date: Fri, 14 Aug 2009 18:17:42 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Trigger a 'progress' event once all media data has been downloaded, to ensure that progress bars complete even if the decoding hasn't finished. (whatwg r3619) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2808&r2=1.2809&f=h http://html5.org/tools/web-apps-tracker?from=3618&to=3619 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2808 retrieving revision 1.2809 diff -u -d -r1.2808 -r1.2809 --- Overview.html 14 Aug 2009 05:42:41 -0000 1.2808 +++ Overview.html 14 Aug 2009 09:17:19 -0000 1.2809 @@ -18537,6 +18537,18 @@ </dd> + <dt>Once the entire <a href="#media-resource">media resource</a> has been <a href="#fetch" title="fetch">fetched</a> (but potentially before any of it + has been decoded)</dt> + + <dd> + + <p><a href="#queue-a-task">Queue a task</a> to <a href="#fire-a-progress-event">fire a progress + event</a> called <code title="event-progress"><a href="#event-progress">progress</a></code> + at the element.</p> + + </dd> + + <dt>If the connection is interrupted, causing the user agent to give up trying to fetch the resource</dt> @@ -18573,6 +18585,7 @@ </ol></dd> + <dt id="fatal-decode-error">If the <a href="#media-data">media data</a> is corrupted</dt> @@ -18608,6 +18621,7 @@ </ol></dd> + <dt>If the <a href="#media-data">media data</a> fetching process is aborted by the user</dt> @@ -18650,6 +18664,7 @@ </ol></dd> + <dt id="non-fatal-media-error">If the <a href="#media-data">media data</a> can be fetched but has non-fatal errors or uses, in part, codecs that are unsupported, preventing the user agent from rendering the @@ -18673,9 +18688,9 @@ </li> - <li><p>If the fetching process completes without errors, then set - the <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> - attribute to <code title="dom-media-NETWORK_LOADED"><a href="#dom-media-network_loaded">NETWORK_LOADED</a></code>, and + <li><p>If the fetching process completes without errors, including + decoding the media data, then set the <code title="dom-media-networkState"><a href="#dom-media-networkstate">networkState</a></code> attribute to + <code title="dom-media-NETWORK_LOADED"><a href="#dom-media-network_loaded">NETWORK_LOADED</a></code>, and <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-progress-event">fire a progress event</a> called <code title="event-load"><a href="#event-load">load</a></code> at the element.</li>
Received on Friday, 14 August 2009 09:18:18 UTC