| OLD | NEW |
| (Empty) | |
| 1 This is a testharness.js-based test. |
| 2 PASS The length attribute must return the number of elements in the form |
| 3 PASS HTMLFormControlsCollection.item(index) must return the indexed item |
| 4 PASS HTMLFormControlsCollection[index] must return the indexed item |
| 5 FAIL HTMLFormControlsCollection(name) must return the named item coll1 is not a
function |
| 6 PASS HTMLFormControlsCollection[name] must return the named item |
| 7 PASS HTMLFormControlsCollection.namedItem(name) must return the named item |
| 8 PASS The namedItem(name) must return an Element |
| 9 PASS The namedItem(name) must return RadioNodeList |
| 10 PASS The namedItem(name) must return null if the name is empty |
| 11 PASS The namedItem(name) must return null if there is no matched element |
| 12 PASS Controls can be indexed by id or name attribute |
| 13 PASS The namedItem(name) must return the items with id or name attribute |
| 14 PASS The HTMLFormControlsCollection interface is used for collections of listed
elements in form element |
| 15 PASS The HTMLFormControlsCollection interface is used for collections of listed
elements in fieldset element |
| 16 FAIL The controls in the form element must be sorted in tree order assert_array_
equals: property 1, expected Element node <input type="checkbox" id="cb"></input
> but got Element node <button id="btn"></button> |
| 17 Harness: the test ran to completion. |
| 18 |
| OLD | NEW |