html/semantics/forms/the-select-element/
401 / 454 WPT subtests passing
- Failed
- 53
- Timed out
- 0
- Not run
- 0
- Test files
- 141
- Blocking files
- 0
Chrome 403 / 454 WPT subtests passing on the same files, 6 blocking, 19 without a result
Tests
2 directories, 46 test files here| Directory | Subtests passing | Chrome | Test files | Standing |
|---|---|---|---|---|
customizable- | 12 / 23 | 21 / 23 | 5 | none blocking |
customizable- | 253 / 292 | 250 / 292 | 90 | none blocking |
Each test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
common-HTMLOptionsCollection-add.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- if before and node are the same element nothing should be done
- add method should add option elements correctly
- add method should add option groups correctly
common-HTMLOptionsCollection-namedItem.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- if only one item has a *name* or id value matching the parameter, return that object and stop
- if only one item has a name or *id* value matching the parameter, return that object and stop
- if no item has a name or id value matching the parameter, return null and stop
- if multiple items have a name or *id* value matching the parameter, return the first object and stop
- if multiple items have a *name* or id value matching the parameter, return the first object and stop
- if multiple items have a *name* or *id* value matching the parameter, return the first object and stop
common-HTMLOptionsCollection.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- On getting, the length attribute must return the number of nodes represented by the collection.
- Changing the length adds new nodes; The number of new nodes = new length minus old length
- New nodes have no value
- Setting a length equal to existing length changes nothing
- Setting a length lower than the old length trims nodes from the end
- Setting element to null by index removed the element
- Setting element by index should correctly append and replace elements
- Changing the length adds new nodes; The new nodes will not copy select's prefix
inserted-or-removed.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- The last selected OPTION should win; Inserted by parser
- The last selected OPTION should win; Inserted by DOM API
- The last selected OPTION should win; Inserted by jQuery append()
- The last selected OPTION should win; Inserted by innerHTML
- If an OPTION says it is selected, it should be selected after it is inserted.
multiple-pickers-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/multiple-pickers-crash.html PASS none reported
No subtests were reported.
option-fieldset-disabled-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/option-fieldset-disabled-crash.html PASS none reported
No subtests were reported.
option-selectedness-script-mutation.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- single-select responds to setting selected attribute from script
- single-select responds to removing selected attribute from script
- multi-select keeps multiple selected options when selected attribute changes from script
- single-select responds to setting option.selected from script
- multi-select responds to option.selected without selected attribute reflection
select-add-optgroup-before-argument-is-select-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/select-add-optgroup-before-argument-is-select-crash.html PASS none reported
No subtests were reported.
select-add-optgroup.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- select.add() with an index should work when the target is inside an optgroup.
select-add-option-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/select-add-option-crash.html PASS none reported
No subtests were reported.
select-add.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- test that HTMLSelectElement.add method can add option element
- test that HierarchyRequestError exception must be thrown when element is an ancestor of the element into which it is to be inserted
select-ancestor-subtree-removal.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Removing an ancestor of a select keeps its options associated with it.
- Selecting an option in a select whose ancestor was removed deselects the others.
- Removing an option from a select whose ancestor was removed runs the selectedness setting algorithm.
select-ask-for-reset.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- ask for reset on node remove, non multiple.
- ask for reset on node insert, non multiple.
- change selectedness of option, non multiple.
- change selectedness of option in optgroup, non multiple.
select-attribute-change-reset.html 8 / 8 passingChrome 6 / 80 failedClean
8 passing subtests
- Reducing a select's size to 1 selects the first enabled option.
- Removing a select's multiple attribute selects the first enabled option.
- Removing an option's disabled attribute selects it.
- Removing an optgroup's disabled attribute selects the option inside it.
- Adding an option's selected attribute deselects the other options.
- Removing an option's selected attribute falls back to the first enabled option.
- Removing the selected attribute from a dirty option does not change selectedness.
- Removing a select's multiple attribute keeps the first selected option.
select-attribute-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/select-attribute-crash.html PASS none reported
No subtests were reported.
select-click-does-not-open-picker.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Synthetic click events do not open select picker
select-csp-style-src-attr.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- No securitypolicyviolation is fired when creating a select element
select-defineProperty.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Defining properties on a HTMLSelectElement
select-in-table-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/select-in-table-crash.html PASS none reported
No subtests were reported.
select-insertion-inherited-style.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Custom property changed on the root element
- Inherited property changed on the parent
- Custom property changed on the root element, read after a rendering update
select-listbox-fixed-abspos-child-dynamic-insertion-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/select-listbox-fixed-abspos-child-dynamic-insertion-crash.html PASS none reported
No subtests were reported.
select-listbox-touch.optional.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Using touch inputs should not deselect other options in a listbox <select multiple>.
select-multiple.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- multiple selected options exist, both set from markup
- multiple selected options exist, one set from script
- Removing multiple attribute reduces the number of selected OPTIONs to 1
select-named-getter.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Option with id
- Option with name
- Option with name and id
- Empty string name
select-remove.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- select.remove(n) should work
- select.options.remove(n) should work
- remove() should work on select elements.
- Element#remove() should work on select elements.
select-restore-invalid-option.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- The select element should reset to its initial state when restoring a mismatched value.
select-root-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/select-root-crash.html PASS none reported
No subtests were reported.
select-selectedOptions-and-selected.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- HTMLSelectElement's selectedOptions and HTMLOptionElement's selected
select-selectedOptions-and-value.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- `HTMLSelectElement.selectedOptions` is correctly updated when `HTMLSelectElement.value` changes
select-selectedOptions-nesting.window.js 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- <select> containing <option><option selected>
- <select> containing <hr><option selected>
- <select> containing <select><option selected>
- <select><optgroup> containing <option><option selected>
- <select><optgroup> containing <hr><option selected>
- <select><optgroup> containing <select><option selected>
- <select><optgroup> containing <optgroup><option selected>
- <select><div><optgroup><div> containing <option><option selected>
- <select><div><optgroup><div> containing <hr><option selected>
- <select><div><optgroup><div> containing <select><option selected>
- <select><div><optgroup><div> containing <optgroup><option selected>
select-selectedOptions.html 10 / 10 passingChrome 10 / 100 failedClean
10 passing subtests
- .selectedOptions with no selected option
- .selectedOptions with one selected option
- .selectedOptions using the 'multiple' attribute with no selected options
- .selectedOptions using the 'multiple' attribute with two selected options
- .selectedOptions without the 'multiple' attribute but more than one selected option should return the last one
- .selectedOptions should return `HTMLCollection` instance
- .selectedOptions should always return the same value - [SameObject]
- .selectedOptions should return the same object after selection changes - [SameObject]
- .selectedOptions should not go stale when a form reset runs the selectedness setting algorithm on a script-created select
- .selectedOptions should not go stale when the selectedness setting algorithm runs on a script-created select
select-setcustomvalidity.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- select setCustomValidity is correct
select-setter-dirtiness.html 7 / 7 passingChrome 6 / 70 failedClean
7 passing subtests
- The selectedIndex setter of a select sets the dirtiness of the option it selects
- The selectedIndex setter of HTMLOptionsCollection sets the dirtiness of the option it selects
- The value setter of a select sets the dirtiness of the option it selects
- The selected setter of an option in a select sets its dirtiness
- The selectedIndex setter of a select sets the dirtiness of the option it selects when that option is already selected
- The value setter of a select sets the dirtiness of the option it selects when that option is already selected
- The selected setter of an option in a select sets its dirtiness when the option is already selected
select-user-selection-dirtiness.html 1 / 4 passingChrome 4 / 43 failedWith failures
Exempt from the 0.1 gate until a renderer answers geometry
the test clicks the centre of a list box (test_driver.click on the select) and expects the option laid out under that point to be picked; with no renderer the select has no layout box and no option lies under the click, so nothing is picked
- Failing assertion
- assert_equals: clicking the middle of the list box picks its second option expected "two" but got ""
- ¶
FAILClicking an option in a list box sets its dirtiness
assert_equals: clicking the middle of the list box picks its second option expected "two" but got ""
- ¶
FAILClicking the selected option in a list box sets its dirtiness
assert_equals: expected "two" but got ""
- ¶
FAILClicking an option in a select with multiple sets its dirtiness
assert_array_equals: clicking the middle of the list box selects its second option lengths differ, expected array ["two"] length 1, got [] length 0
1 passing subtest
- Typing to select an option in a dropdown box sets its dirtiness
select-validity-option-descendants.html 4 / 4 passingChrome 0 / 40 failedClean
4 passing subtests
- Inserting and removing text in a descendant of the placeholder label option
- Changing the data of text in a descendant of the placeholder label option
- Inserting and removing an element containing text in a descendant of the placeholder label option
- Moving text into and out of a descendant of the placeholder label option
select-validity.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- Placeholder label options within a select
- Placeholder label-like options within optgroup
- Validation on selects with display size set as more than one
- Validation on selects with multiple set
- Validation on selects with non-empty disabled option
- Remove and add back the placeholder label option
select-value.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- options
- optgroups
- option is child of div
- no options
select-willvalidate-readonly-attribute.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Select element with "readonly" attribute shouldn't be barred from constraint validation
selected-index.html 14 / 14 passingChrome 14 / 140 failedClean
14 passing subtests
- get empty
- get default
- get disabled
- get unselected
- set empty (HTMLSelectElement)
- set empty (HTMLOptionsCollection)
- set (HTMLSelectElement)
- set (HTMLOptionsCollection)
- set and reset (HTMLSelectElement)
- set and reset (HTMLOptionsCollection)
- get display:none
- reset to display:none
- set selectedIndex=-1
- removing a non-selected option with nothing selected asks for a reset
show-picker-being-rendered.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- select showPicker() throws when not being rendered
show-picker-cross-origin-iframe.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Test showPicker() called from cross-origin iframe
- Test showPicker() called from cross-origin iframe 1
- Test showPicker() called from cross-origin iframe 2
- Test showPicker() called from cross-origin iframe 3
show-picker-disabled.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- select showPicker() throws when disabled
show-picker-multiple.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- select showPicker() does not throw when called on a <select multiple>
show-picker-size.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- select showPicker() does not throw when called on a <select size="4">
show-picker-user-gesture.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- select showPicker() requires a user gesture
- select showPicker() does not throw when user activation is active.