This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The description of these tests state that they check that Node.attributes on a Comment node is null, but the do not make that assertion. In addition, the hc_ version will fail on implementations that do not preserve comments since it relies on comment nodes already in the source document. Since there are already tests that check that the expected number of comments are present and some HTML implementations report PI's and DTD's as comments, changing the hc_ test so that it creates the comment is beneficial.
Created attachment 28 [details] Patch