blob: f459f8d17e87688c2142a12e84f43f526490d78c [file] [log] [blame]
Tests that removing a <button> from the document removes it from HTMLFormElement.elements.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Before removal of button:
PASS document.getElementById('aForm').elements is non-null.
PASS document.getElementById('aForm')['aButton'] is document.getElementById('aButton')
After removal of button:
PASS document.getElementById('aForm')['aButton'] is undefined.
PASS successfullyParsed is true
TEST COMPLETE