[whatwg] Readystate

Jonas Sicking jonas at sicking.cc
Thu Jul 24 11:29:22 PDT 2008


Hi all,

Currently the spec for document.readyState says that when a document is 
created its initial state should be 'loading'. However this seems 
confusing for documents created though other means than being loaded 
inside a window. For example if an implementation supports creating HTML 
documents using document.implementation.createDocument.

I suggest that the spec instead says that documents are created in the 
state 'complete' unless they are created to be loaded in a window.

/ Jonas



More information about the whatwg mailing list