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

'loadeddate' inconsistency

From: Eric Carlson <eric.carlson@apple.com>
Date: Tue, 17 Mar 2009 08:10:08 -0700
Message-id: <8F0E27EB-6589-414E-8C69-F31A05E08382@apple.com>
To: public-html WG <public-html@w3.org>

   The spec has two definitions of when to send the 'loadeddate'  
event. Setction 4.8.10.7 says loadeddata is sent the first time  
readyState is *equal to* HAVE_CURRENT_DATA:

     If the previous ready state was HAVE_METADATA and the new ready  
state is HAVE_CURRENT_DATA ...

but the entry for 'loadeddata' in the table in 4.8.10.13 says it is  
sent the first time readyState is HAVE_CURRENT_DATA *or greater*:

     readyState newly increased to HAVE_CURRENT_DATA  or greater for  
the first time

   I think the later definition makes more sense because it means the  
event will always be fired, even if ready state skips past  
HAVE_CURRENT_DATA.

eric
Received on Tuesday, 17 March 2009 15:10:58 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:43 UTC