W3C home > Mailing lists > Public > public-html-commits@w3.org > August 2009

html5/spec Overview.html,1.2808,1.2809

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 14 Aug 2009 09:17:22 +0000
To: public-html-commits@w3.org
Message-Id: <E1MbsuY-0002xg-Vh@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv11366

Modified Files:
	Overview.html 
Log Message:
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)

Index: Overview.html
===================================================================
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:17:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 14 August 2009 09:17:33 GMT