auto merge of #2067 : saneyuki/servo/id, r=Ms2ger

Follow up #1917
(Derived from #2066)
This commit is contained in:
bors-servo 2014-04-08 14:55:01 -04:00
commit b9a7949ce4
2 changed files with 1 additions and 3 deletions

View file

@ -675,8 +675,6 @@ impl Document {
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
// Use mangle() when it exists again.
match self.idmap.find_mut(&id) {

View file

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