Many DOM attributes are wrong

Browser responses to 5 DOM attribute queries
DOM attributes queries
Actual (live) results in your browser
IE 7 and IE 8 b2 Firefox 2 Opera 9.5 Safari 3.1 Konq 4.1 Expected
results
DOM attributes queries
Actual (live) results in your browser
IE 7 and IE 8 b2 Firefox 2 Opera 9.5 Safari 3.1 Konq 4.1 Expected
results
! undefined HTML HTML undefined undefined
A doctype declaration does not have a tag name
#comment HTML HTML HTML HTML HTML
The name of DTD; i.e., the name immediately following the DOCTYPE keyword. See document type name
null [object DocumentType] null [object DocumentType] [object DocumentType] [object DocumentType]
2 2 1 1 2 2
the doctype declaration is the first child; the root element of the document ("HTML") is the 2nd child
8 10 1 1 10 10
which corresponds to DOCUMENT_TYPE_NODE

This bug has been reported at connect's IE beta feedback as bug 348537.

Valid HTML 4.01!