Remove the needless comment for document.getElementById.

This commit is contained in:
Tetsuharu OHZEKI 2014-04-09 02:30:26 +09:00
parent aa36ae62cd
commit 25e6366efc
2 changed files with 1 additions and 3 deletions

View file

@ -675,8 +675,6 @@ impl Document {
node.is_in_doc() node.is_in_doc()
}); });
// TODO: support the case if multiple elements
// which haves same id are in the same document.
// FIXME https://github.com/mozilla/rust/issues/13195 // FIXME https://github.com/mozilla/rust/issues/13195
// Use mangle() when it exists again. // Use mangle() when it exists again.
match self.idmap.find_mut(&id) { match self.idmap.find_mut(&id) {

View file

@ -76,9 +76,9 @@
is(document.getElementById("should-not-exist"), e, "test 4-1"); is(document.getElementById("should-not-exist"), e, "test 4-1");
} }
// TODO:
// test5: "in tree order, within the context object's tree" // test5: "in tree order, within the context object's tree"
// http://dom.spec.whatwg.org/#dom-document-getelementbyid. // http://dom.spec.whatwg.org/#dom-document-getelementbyid.
// we test this in test_document_getElementById_tree_order.html
// TODO: // TODO:
// test6: innerHTML // test6: innerHTML