OLD | NEW |
1 Tests form.elements is invalidated when input element's form attribute is change
d. | 1 Tests form.elements is invalidated when input element's form attribute is change
d. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 collection = document.getElementById('someForm').elements; | 6 collection = document.getElementById('someForm').elements; |
7 PASS collection.length is 1 | 7 PASS collection.length is 1 |
8 PASS collection.length; input.setAttribute('form', 'otherForm'); collection.leng
th is 0 | 8 PASS collection.length; input.setAttribute('form', 'otherForm'); collection.leng
th is 0 |
9 PASS collection.length; input.setAttribute('form', 'someForm'); collection.lengt
h is 1 | 9 PASS collection.length; input.setAttribute('form', 'someForm'); collection.lengt
h is 1 |
| 10 PASS successfullyParsed is true |
10 | 11 |
| 12 TEST COMPLETE |
| 13 |
OLD | NEW |