W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2008

[whatwg] document.readyState and its initial value

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 05 Aug 2008 08:25:30 -0700
Message-ID: <489870EA.9050101@sicking.cc>
Ian Hickson wrote:
>> But, oddity is par for the course in DOM, so I guess we'll just follow 
>> the HTML 5 spec as-is, initialize readyState to "loading" in the object 
>> constructor, and keep our fingers crossed.
> 
> If you find any problems with doing this, please let me know, so we can 
> update the spec!

The concern I have with doing that is that document created through 
other means, such as .implementation.createDocument, 
XSLTProccessor.transformToDocument, DOMParser.parse, etc, probably 
should not be in the 'uninitialized' state. Especially the last two 
should return documents that is in the 'complete' state I would think.

/ Jonas
Received on Tuesday, 5 August 2008 08:25:30 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:04 UTC