Skip to content

Commit

Permalink
fixup! Add another getElementById test that has been broken in Servo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger committed Nov 3, 2014
1 parent c2fd7a8 commit 71b967b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dom/nodes/Document-getElementById.html
Expand Up @@ -292,7 +292,8 @@
let TEST_ID = "test14";
let a = document.createElement("a");
let b = document.createElement("b");
a.appendChild(b).id = TEST_ID;
a.appendChild(b);
b.id = TEST_ID;
assert_equals(document.getElementById(TEST_ID), null);

gBody.appendChild(a);
Expand Down

0 comments on commit 71b967b

Please sign in to comment.