W3C home > Mailing lists > Public > public-html-diffs@w3.org > April 2009

loadeddata fires even when jumping throught to HAVE_FUTURE_DATA. (credit: ec) (whatwg r2991)

From: poot <cvsmail@w3.org>
Date: Mon, 27 Apr 2009 06:07:19 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090426210720.1B69C2BC35@toro.w3.mag.keio.ac.jp>
loadeddata fires even when jumping throught to HAVE_FUTURE_DATA.
(credit: ec) (whatwg r2991)

If this is the first time this occurs for this media element since the load() algorithm was last invoked, the user agent must queue a task to fire a simple event called loadeddata at the element.
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2155.html#fire-loadeddata
If the previous ready state was HAVE_METADATA and the new ready state is HAVE_CURRENT_DATA or greater
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2155.html#handling-first-frame-available
HAVE_ENOUGH_DATA
http://people.w3.org/mike/diffs/html5/spec/Overview.1.2155.html#dom-media-have_enough_data

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2154&r2=1.2155&f=h
http://html5.org/tools/web-apps-tracker?from=2990&to=2991

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2154
retrieving revision 1.2155
diff -u -d -r1.2154 -r1.2155
--- Overview.html	26 Apr 2009 20:11:09 -0000	1.2154
+++ Overview.html	26 Apr 2009 21:05:50 -0000	1.2155
@@ -18242,7 +18242,8 @@
 
    <dt id="handling-first-frame-available">If the previous ready state
    was <code title="dom-media-HAVE_METADATA"><a href="#dom-media-have_metadata">HAVE_METADATA</a></code> and
-   the new ready state is <code title="dom-media-HAVE_CURRENT_DATA"><a href="#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code></dt>
+   the new ready state is <code title="dom-media-HAVE_CURRENT_DATA"><a href="#dom-media-have_current_data">HAVE_CURRENT_DATA</a></code> or
+   greater</dt>
 
    <dd>
 
@@ -18251,6 +18252,10 @@
     the user agent must <a href="#queue-a-task">queue a task</a> to <a href="#fire-a-simple-event">fire a
     simple event</a> called <code title="event-loadeddata"><a href="#event-loadeddata">loadeddata</a></code> at the element.</p>
 
+    <p>If the new ready state is <code title="dom-media-HAVE_FUTURE_DATA"><a href="#dom-media-have_future_data">HAVE_FUTURE_DATA</a></code> or
+    <code title="dom-media-HAVE_ENOUGH_DATA"><a href="#dom-media-have_enough_data">HAVE_ENOUGH_DATA</a></code>,
+    then the relevant steps below must then be run also.</p>
+
    </dd>
 
    <!-- going down -->
Received on Sunday, 26 April 2009 21:07:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:04 GMT