This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
hc_commentgetcomment reads hc_staff which contains one comment. Mozilla, Konqueror, and Opera's HTML implementation eliminate comments when loading HTML documents which cause this test to fail. IE fails this test since it reports the document type declaration as a comment, but actually preserve the comment. Mozilla's XHTML implementation preserves the comment. The proposed solution is to add implementation attribute "ignoringComments" that could be used to prevent this test from running on implementations that eliminate comments and to tests that use createComment to check the expected values of nodeName, nodeValue, nodeType and attributes.
Created attachment 207 [details] Adds implementationAttribute ignoringComments
Solution discussed in 28 Jan 2004 conference call