common-HTMLOptionsCollection.html

PASSExpected8 of 8 subtests pass329 ms

Details

Test
/html/semantics/forms/the-select-element/common-HTMLOptionsCollection.html
Harness
OK

Subtests

StatusSubtestMessage
PASSOn getting, the length attribute must return the number of nodes represented by the collection.
PASSChanging the length adds new nodes; The number of new nodes = new length minus old length
PASSNew nodes have no value
PASSSetting a length equal to existing length changes nothing
PASSSetting a length lower than the old length trims nodes from the end
PASSSetting element to null by index removed the element
PASSSetting element by index should correctly append and replace elements
PASSChanging the length adds new nodes; The new nodes will not copy select's prefix