html/infrastructure/common-dom-interfaces/collections/
70 / 104 WPT subtests passing
- Failed
- 34
- Timed out
- 0
- Not run
- 0
- Test files
- 7
- Blocking files
- 0
Chrome none reported WPT subtests passing on the same files, none blocking, 7 without a result
Tests
7 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
detached-root-gc.html 11 / 11 passingChrome —0 failedClean
11 passing subtests
- form.elements
- fieldset.elements
- select.options
- select.selectedOptions
- datalist.options
- table.tBodies
- table.rows
- tbody.rows
- tr.cells
- map.areas
- input.labels
domstringlist.html 4 / 4 passingChrome —0 failedClean
4 passing subtests
- DOMStringList: length attribute
- DOMStringList: item() method
- DOMStringList: indexed getter
- DOMStringList: contains() method
historical.html 2 / 3 passingChrome —1 failedWith failures
- ¶
FAILHTMLAllCollection legacycaller with two arguments should not be supported
This feature is not yet implemented
2 passing subtests
- HTMLFormControlsCollection legacycaller should not be supported
- HTMLOptionsCollection legacycaller should not be supported
htmlallcollection.html 8 / 41 passingChrome —33 failedWith failures
- ¶
FAILlength attribute
assert_equals: expected (number) 25 but got (undefined) undefined
- ¶
FAILindexed property getter
assert_equals: expected (object) Element node <html id="root"><head> <title>HTMLAllCollection Tests</ti... but got (undefined) undefined
- ¶
FAILindexed property getter out of range
assert_equals: expected (object) Element node <div id="4294967295"></div> but got (undefined) undefined
- ¶
FAILnamed property getter
assert_equals: expected (object) Element node <html id="root"><head> <title>HTMLAllCollection Tests</ti... but got (undefined) undefined
- ¶
FAILnamed property getter with dot syntax
assert_equals: expected (object) Element node <html id="root"><head> <title>HTMLAllCollection Tests</ti... but got (undefined) undefined
- ¶
FAILnamed property getter returning collection
Cannot read properties of undefined (reading 'length')
- ¶
FAILnamed property getter with "array index property name"
assert_equals: expected (object) Element node <html id="root"><head> <title>HTMLAllCollection Tests</ti... but got (undefined) undefined
- ¶
FAILnamed property getter with invalid "array index property name"
assert_equals: expected (object) Element node <span id="043"></span> but got (undefined) undefined
- ¶
FAILnamed property getter with undefined
assert_equals: expected (object) Element node <div id="undefined"></div> but got (undefined) undefined
- ¶
FAILnamed property getter with null
assert_equals: expected (object) Element node <div id="null"></div> but got (undefined) undefined
- ¶
FAILnamedItem method
This feature is not yet implemented
- ¶
FAILnamedItem method with invalid name
This feature is not yet implemented
- ¶
FAILnamedItem method returning collection
This feature is not yet implemented
- ¶
FAILnamedItem method with "array index property name"
This feature is not yet implemented
- ¶
FAILnamedItem method with invalid "array index property name"
This feature is not yet implemented
- ¶
FAILnamedItem method with undefined
This feature is not yet implemented
- ¶
FAILnamedItem method with null
This feature is not yet implemented
- ¶
FAILlegacy caller
This feature is not yet implemented
- ¶
FAILlegacy caller with invalid name
This feature is not yet implemented
- ¶
FAILlegacy caller returning collection
This feature is not yet implemented
- ¶
FAILlegacy caller with "array index property name"
This feature is not yet implemented
- ¶
FAILlegacy caller with "array index property name" as number
This feature is not yet implemented
- ¶
FAILlegacy caller with invalid "array index property name"
This feature is not yet implemented
- ¶
FAILlegacy caller with null
This feature is not yet implemented
- ¶
FAILlegacy caller with arbitrary this value
This feature is not yet implemented
- ¶
FAILitem method
This feature is not yet implemented
- ¶
FAILitem method with invalid name
This feature is not yet implemented
- ¶
FAILitem method returning collection
This feature is not yet implemented
- ¶
FAILitem method with "array index property name"
This feature is not yet implemented
- ¶
FAILitem method with "array index property name" as number
This feature is not yet implemented
- ¶
FAILitem method with invalid "array index property name"
This feature is not yet implemented
- ¶
FAILitem method with null
This feature is not yet implemented
- ¶
FAILcollections are new live HTMLCollection instances
This feature is not yet implemented
8 passing subtests
- document.all is an HTMLAllCollection
- named property getter with invalid name
- namedItem method with no argument
- legacy caller with undefined
- legacy caller with no argument
- legacy caller is not a constructor
- item method with undefined
- item method with no argument
htmlformcontrolscollection.html 16 / 16 passingChrome —0 failedClean
16 passing subtests
- The length attribute must return the number of elements in the form
- HTMLFormControlsCollection.item(index) must return the indexed item
- HTMLFormControlsCollection[index] must return the indexed item
- HTMLFormControlsCollection is not callable
- HTMLFormControlsCollection[name] must return the named item
- HTMLFormControlsCollection.namedItem(name) must return the named item
- The namedItem(name) must return an Element
- The namedItem(name) must return RadioNodeList
- The namedItem(name) must return null if the name is empty
- The namedItem(name) must return null if there is no matched element
- Controls can be indexed by id or name attribute
- Keygen controls do not show up at all
- The namedItem(name) must return the items with id or name attribute
- The HTMLFormControlsCollection interface is used for collections of listed elements in form element
- The HTMLFormControlsCollection interface is used for collections of listed elements in fieldset element
- The controls in the form element must be sorted in tree order
htmloptionscollection.html 24 / 24 passingChrome —0 failedClean
24 passing subtests
- Original length
- Setting length to original value has no effect
- Setting length to shorter value
- Setting length to longer value
- Insert <p><option>6</option></p> into <select>
- Insert <select><option>6</option></select> into <select>
- Insert <optgroup><option>6</option></optgroup> into <select>
- Insert <optgroup><optgroup><option>6</option></optgroup></optgroup> into <select>
- namedItem id attribute
- namedItem name attribute
- namedItem doesn't match anything
- namedItem multiple IDs
- namedItem multiple names
- namedItem multiple name and ID
- namedItem multiple name and ID with multiple attributes
- namedItem id attribute multiple attributes one element
- namedItem name attribute multiple attributes one element
- HTMLOptionsCollection [index] method return the item with index
- HTMLOptionsCollection [name] method return the item with name
- HTMLOptionsCollection.item(index) method return the item with index
- HTMLOptionsCollection.item(name) method return the item with index 0
- HTMLOptionsCollection.add method insert HTMLOptionElement Option element
- HTMLOptionsCollection.remove method remove Option element by index
- Add non-option to collection
radionodelist.html 5 / 5 passingChrome —0 failedClean
5 passing subtests
- The value attribute should be empty if no element is checked
- The RadioNodeList.value must be the first checked radio button's value
- Check the RadioNodeList.value on getting
- Check the RadioNodeList.value on setting
- Check the RadioNodeList.value on setting to 'on'