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 Firefox 2 Opera 10.0 Safari 4.0 Konq 4.1 Expected
results
DOM attributes queries
Actual (live) results in your browser
IE 7 and IE 8 Firefox 2 Opera 10.0 Safari 4.0 Konq 4.1 Expected
results
! undefined undefined undefined 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] [object DocumentType] [object DocumentType] [object DocumentType] [object DocumentType]
2 2 2 2 2 2
the doctype declaration is the first child; the root element of the document ("HTML") is the 2nd child
8 10 10 10 10 10
which corresponds to DOCUMENT_TYPE_NODE

This bug has been reported at connect's IE beta feedback as bug 348537. This bug has been closed by the IE team and will not be fixed for the release of IE 8 final.

Valid HTML 4.01!