blob: b96725a32547a4f66c2e1204293b3834f947b2d3 [file] [log] [blame]
Tests form.elements is invalidated when input element's form attribute is changed.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
collection = document.getElementById('someForm').elements;
PASS collection.length is 1
PASS collection.length; input.setAttribute('form', 'otherForm'); collection.length is 0
PASS collection.length; input.setAttribute('form', 'someForm'); collection.length is 1
PASS successfullyParsed is true
TEST COMPLETE