2 <script src=
"../../resources/js-test.js"></script>
4 description("Removing all children of a form should disassociate any form controls in that subtree");
5 var form
= document
.createElement('form');
6 var input
= document
.createElement('input');
7 form
.appendChild(input
);
9 shouldBeNull("input.form");
10 shouldBe("form.elements.length", "0");