2 <script src=
"../../../resources/js-test.js"></script>
6 description('This tests the DOM 4 remove method on an Element.');
8 var testDiv
= document
.getElementById('test');
9 var a
= document
.createElement('a');
10 testDiv
.appendChild(a
);
11 shouldBe('testDiv.childNodes.length', '1');
13 shouldBe('testDiv.childNodes.length', '0');
15 shouldBe('testDiv.childNodes.length', '0');