html/semantics/forms/the-select-element/customizable-select/
253 / 292 WPT subtests passing
- Failed
- 39
- Timed out
- 0
- Not run
- 0
- Test files
- 90
- Blocking files
- 0
Chrome 250 / 292 WPT subtests passing on the same files, 5 blocking, 11 without a result
Tests
90 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
all-revert-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/customizable-select/all-revert-crash.html PASS none reported
No subtests were reported.
base-appearance-inheritance.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- base appearance should not propagate to nested elements which support appearance.
button-in-popover.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Buttons in the popover should be rendered and should not close the popover when clicked.
- Non-interactive content in the popover should not close the popover when clicked.
checkmark-animation.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- ::checkmark pseudo-element animates
nested-options.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- The HTML parser should disallow nested options in select datalist.
- Nested <options> not should be listed in <select> IDLs.
- Showing the popup with nested <option>s should not crash.
nested-select-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/customizable-select/nested-select-crash.html PASS none reported
No subtests were reported.
option-color-inheritance.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- option elements should inherit color from their parent select element.
option-disabled-invalid-nesting.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- options should not inherit disabledness when nested in invalid elements.
option-disabled-optgroup-wrapper.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- :disabled matches option in wrapper inside disabled optgroup
- :disabled updates dynamically when optgroup disabled changes with wrapper
- selectedness setting algorithm skips wrapped options in disabled optgroup
option-disabled-optgroup.html 5 / 6 passingChrome 6 / 61 failedWith failures
- ¶
FAILnesting options and optgroups in disabled select
assert_false: nested optgroup expected false got true
5 passing subtests
- options should check ancestor optgroup for disabled state.
- nested optgroup
- disabled select
- select in optgroup
- nested options
option-form-ancestor-select.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- option.form should look up the ancestor chain for a select element to get its form from.
- option.form should be null when options are nested in invalid elements.
option-list-wrapped-optgroup.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- option inside optgroup inside wrapper div is in the option list
- nested optgroups inside wrapper still excluded from option list
option-list.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- select's option list should not include descendants of options, hrs, or nested optgroups.
option-selectedness-wrapper.html 31 / 32 passingChrome 31 / 321 failedWith failures
- ¶
FAILdrop-down box: inserting a selected option into selectedcontent does not select it
assert_array_equals: expected property 0 to be "Two" but got "One" (expected array ["Two"] got ["One"])
31 passing subtests
- drop-down box: parsing a selected option in wrappers after a selected option
- list box: parsing a selected option in wrappers after a selected option
- multiple: parsing a selected option in wrappers after a selected option
- drop-down box: inserting a wrapper with a selected option
- drop-down box: inserting nested wrappers with a selected option
- drop-down box: inserting a wrapper with a selected option into a select that is not connected
- drop-down box: inserting a selected option into a wrapper
- drop-down box: setting innerHTML of a wrapper to a selected option
- drop-down box: inserting a selected option into an optgroup
- drop-down box: setting innerHTML to a selected option followed by a wrapper with a selected option
- drop-down box: inserting a selected option followed by a wrapper with a selected option
- drop-down box: inserting a wrapper with a selected option followed by a selected option
- drop-down box: moving a wrapper with a selected option into the select
- drop-down box: cloning a select with selected options in a wrapper
- drop-down box: moving an ancestor of the select does not select an option later
- drop-down box: inserting a select with innerHTML does not select an option later
- list box: inserting a wrapper with a selected option
- list box: inserting nested wrappers with a selected option
- list box: inserting a wrapper with a selected option into a select that is not connected
- list box: inserting a selected option into a wrapper
- list box: setting innerHTML of a wrapper to a selected option
- list box: inserting a selected option into an optgroup
- list box: setting innerHTML to a selected option followed by a wrapper with a selected option
- list box: inserting a selected option followed by a wrapper with a selected option
- list box: inserting a wrapper with a selected option followed by a selected option
- list box: moving a wrapper with a selected option into the select
- list box: cloning a select with selected options in a wrapper
- list box: moving an ancestor of the select does not select an option later
- list box: inserting a select with innerHTML does not select an option later
- multiple: inserting a wrapper with a selected option
- drop-down box: inserting a wrapper with a selected option updates selectedcontent
picker-icon-animation.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- ::picker-icon pseudo-element animates
placeholder-label-option-wrapper.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- An option inside a wrapper element can be the placeholder label option.
- Selecting past the wrapped placeholder label option validates the select.
- An option inside an optgroup is not the placeholder label option.
- An option inside a wrapped optgroup is not the placeholder label option.
- A multiple select has no placeholder label option.
select-add-multiple-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/customizable-select/select-add-multiple-crash.html PASS none reported
No subtests were reported.
select-anchor-regression.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- This test passes if it does not crash.
select-ask-for-reset-base-appearance.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Deselecting the selected option of a base appearance select with a closed picker selects its first option
- Removing the selected attribute of the selected option of a base appearance select with a closed picker selects its first option
select-base-appearance-computed-style.html 9 / 11 passingChrome 9 / 112 failedWith failures
- ¶
FAILUA styles of base appearance <select>.
assert_equals: min-inline-size expected "calc-size(auto, max(size, 24px))" but got "auto"
- ¶
FAILUA styles of disabled base appearance <select>.
assert_equals: cursor expected "not-allowed" but got "auto"
9 passing subtests
- Setup
- UA styles of base appearance select::picker-icon.
- UA styles of base appearance ::picker(select)
- UA styles of base appearance <option>.
- UA styles of base appearance option::checkmark.
- UA styles of base appearance <optgroup>.
- UA styles of base appearance <legend>.
- UA styles of base appearance select <button>.
- UA styles of base appearance <option> in <optgroup>.
select-button-behaviors.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Select button should not be the default form submit button.
- Select button should not inherit :disabled from select.
select-click-drag-option.optional.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Clicking the invoker button and dragging to an option should choose that option and close the picker.
- mouse: Releasing the pointer on an option positioned on top of the invoker button should not close the picker.
- touch: Releasing the pointer on an option positioned on top of the invoker button should not close the picker.
select-disabled.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- defaultbutton: <select disabled> should prevent focus and activation with appearance:base-select.
- custombutton: <select disabled> should prevent focus and activation with appearance:base-select.
select-events-2.optional.html 6 / 7 passingChrome 7 / 71 failedWith failures
- ¶
FAIL<select> should fire input and change events when new option is selected.
assert_array_equals: input event should not fire when user switches options with arrow key. lengths differ, expected array [] length 0, got ["input", "change"] length 2
6 passing subtests
- Button controller code should not run if the mousedown event is preventDefaulted.
- Listbox controller code should not run if the mousedown event is preventDefaulted.
- <select> should not fire input and change events when new selected option has the same value as the old.
- <select> should fire input and change events when option in listbox is clicked
- Check that <Space> opens <select>.
- Check that <Space> opens <select> when <select> specifies tabindex
select-focus-visible-with-mouse.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Select should not match :focus-visible when using mouse.
select-highlight-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/customizable-select/select-highlight-crash.html PASS none reported
No subtests were reported.
select-home-end-pagedown-pageup-detailed.optional.html 3 / 4 passingChrome 3 / 41 failedWith failures
- ¶
FAILBehavior of PageUp and PageDown for customizable-<select>
assert_not_equals: Middle option should be scrolled into view, to start got disallowed value 0
3 passing subtests
- Behavior of Home and End for customizable-<select>
- Behavior of Home and End for customizable-<select>, starting at the top
- Behavior of Home and End for customizable-<select>, starting at the bottom
select-home-end-pagedown-pageup.optional.html 2 / 4 passingChrome 4 / 42 failedWith failures
- ¶
FAILBehavior of PageUp for customizable-<select>
assert_not_equals: Focus should move got disallowed value Element node <option id="500">Option #500</option>
- ¶
FAILBehavior of PageDown for customizable-<select>
assert_false: expected false got true
2 passing subtests
- Behavior of Home for customizable-<select>
- Behavior of End for customizable-<select>
select-initial-focus-display-animation.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Option initial focus should still work when a display animation is present.
select-iterate-before-beginning.optional.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Attempting to focus the previous option while focused on the first option should not crash.
- Keyboard navigating backwards over an <hr> and <optgroup> should not crash.
select-keyboard-behavior.optional.html 8 / 10 passingChrome 10 / 102 failedWith failures
- ¶
FAILdefaultbutton: When the listbox is closed, spacebar should open the listbox.
assert_equals: After dismissing the popover, the invoker button should be focused again. expected Element node <select id="defaultbutton"> <option class="one">one</... but got Element node <option class="one">one</option> - ¶
FAILcustombutton: When the listbox is closed, spacebar should open the listbox.
assert_equals: After dismissing the popover, the invoker button should be focused again. expected Element node <select id="custombutton"> <button>custom button</but... but got Element node <option class="one">one</option>
8 passing subtests
- defaultbutton: When the listbox is closed, all arrow keys should open the listbox.
- defaultbutton: When the listbox is closed, the enter key should not trigger form submission.
- defaultbutton: When the listbox is open, the enter key should commit the selected option.
- defaultbutton: When the listbox is open, the tab key should close the listbox.
- custombutton: When the listbox is closed, all arrow keys should open the listbox.
- custombutton: When the listbox is closed, the enter key should not trigger form submission.
- custombutton: When the listbox is open, the enter key should commit the selected option.
- custombutton: When the listbox is open, the tab key should close the listbox.
select-listitems-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/customizable-select/select-listitems-crash.html PASS none reported
No subtests were reported.
select-listitems-hr-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/customizable-select/select-listitems-hr-crash.html PASS none reported
No subtests were reported.
select-mouse-behavior.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- fallbackbutton: Select with appearance:base-select should open and close when clicking the button.
- fallbackbutton: Right clicking the button should not open the picker.
- fallbackbutton: Clicking an option in an appearance:base-select select should choose the option and close the popover.
- fallbackbutton: Touch input should work the same as mouse input.
- custombutton: Select with appearance:base-select should open and close when clicking the button.
- custombutton: Right clicking the button should not open the picker.
- custombutton: Clicking an option in an appearance:base-select select should choose the option and close the popover.
- custombutton: Touch input should work the same as mouse input.
select-mousedown-slot-mutation.optional.html 1 / 2 passingChrome 2 / 21 failedWith failures
- ¶
FAILSelect options work correctly after mousedown mutation
assert_false: select should be closed initially expected false got true
1 passing subtest
- Select opens when options are mutated during mousedown
select-multiple-keydown-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/customizable-select/select-multiple-keydown-crash.html PASS none reported
No subtests were reported.
select-multiple-mousemove-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/customizable-select/select-multiple-mousemove-crash.html PASS none reported
No subtests were reported.
select-multiple-removed.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Removing the multiple attribute should not crash.
select-optgroup-arrow-keys.optional.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Keyboard navigation forwards and backwards should visit each option with optgroups.
select-optgroup-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/customizable-select/select-optgroup-crash.html PASS none reported
No subtests were reported.
select-optgroup-tabindex-focus.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- An optgroup with a tabindex in a base appearance picker is focusable
select-option-arrow-scroll.optional.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- topofdocument: Arrow keys on options should not scroll the document.
- bottomofdocument: Arrow keys on options should not scroll the document.
select-option-hover-styles.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Hover styles should be present for appearance:base-select options.
select-options-id.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Option elements should work if they are a descendant of a selects wrapper div.
- Options in wrapper div should still work when the multiple attribute is added.
- Options in wrapper div in multiple should work after re-parsing and re-attaching.
select-parsing.html 17 / 17 passingChrome 17 / 170 failedClean
17 passing subtests
- <div>s, <button>s, and <datalist>s should be allowed in <select>
- </select> should close <button>
- </select> should close <datalist>
- <select> in <button> in <select> should remove inner <select>
- <select> in <select><button><div> should remove inner <select>
- JS added nested <select> should be ignored
- JS added nested <select>s should be ignored
- Divs and imgs should be allowed as direct children of select and within options without a datalist
- textarea tags should parse inside select instead of closing the select
- hr should generate implied end tags inside select
- optgroup should generate implied end tags inside select
- option inside optgroup should close previous option
- The last test should not leave any tags open after parsing
- Nested selects should be retained 1
- Nested selects should be retained 2
- JS added nested select should be ignored
- JS added nested selects should be ignored
select-pick-option-dirtiness.html 0 / 2 passingChrome 0 / 22 failedExempt
Exempt from the 0.1 gate: Crane follows the browser majority
test_driver.click on a picker option follows WebDriver Element Click step 8 for an option (events at the select, selectedness set) and never runs pick an option, so the picker stays open, exactly as in Chrome and Safari; Firefox does not ship base-select and fails earlier (wpt#64927)
- Crane matches
- Chrome, Safari
- Chrome
- wpt.fyi run 4786307730243584: 0/2 (Chrome 157, 2358bd4835)
- Firefox
- wpt.fyi run 4877168468033536: 0/2 (Firefox 160, 2358bd4835)
- Safari
- wpt.fyi run 6479119966273536: 0/2 (Safari 27.2, 2358bd4835)
- Revisit
- when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
- ¶
FAILPicking an option that is already selected sets its dirtiness.
assert_false: Select should be closed after picking an option. expected false got true
- ¶
FAILPicking an option that is not selected sets its dirtiness.
assert_false: Select should be closed after picking an option. expected false got true
select-pick-option-keydown.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Canceling keypress does not prevent an option from being picked.
select-picker-animations.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- select::picker(select) should support author provided top layer animations.
select-picker-exit-animation.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Top layer exit animations should work on ::picker(select) just like a popover.
select-picker-hover-active-pseudo.html 2 / 4 passingChrome 4 / 42 failedWith failures
- ¶
FAILdefaultbutton: select should not match :hover or :active when interacting with elements in the picker.
assert_false: select should not match :hover. expected false got true
- ¶
FAILcustombutton: select should not match :hover or :active when interacting with elements in the picker.
assert_false: select should not match :hover. expected false got true
2 passing subtests
- defaultbutton: select should match :hover and :active when interacting with button.
- custombutton: select should match :hover and :active when interacting with button.
select-picker-hover-after-picking.html 0 / 1 passingChrome 0 / 11 failedExempt
Exempt from the 0.1 gate: Crane follows the browser majority
test_driver.click on a picker option follows WebDriver Element Click step 8 for an option and never runs pick an option, so the picker stays open, exactly as in Chrome and Safari; Firefox does not ship base-select and stops at its appearance check (wpt#64928)
- Crane matches
- Chrome, Safari
- Chrome
- wpt.fyi run 4786307730243584: 0/1 (Chrome 157, 2358bd4835)
- Firefox
- wpt.fyi run 4877168468033536: 0/1 (Firefox 160, 2358bd4835)
- Safari
- wpt.fyi run 6479119966273536: 0/1 (Safari 27.2, 2358bd4835)
- Revisit
- when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
- ¶
FAILHover still applies after picking an option hides the picker.
assert_false: Picking an option should close the picker. expected false got true
select-picker-interactive-element-focus.optional.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Clicking interactive elements inside the select picker should focus them.
select-picker-option-animation-reopens.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- CSS animations on option elements restart when the base-select picker reopens.
select-picker-option-hover-while-dragging.optional.html 2 / 2 passingChrome 1 / 20 failedClean
2 passing subtests
- An option matches :hover while the pointer is dragged over it with the button held.
- Dragging out of the picker does not leave an element matching :hover.
select-picker-option-optgroup-client-rects.html 2 / 8 passingChrome 8 / 86 failedWith failures
- ¶
FAILOption and optgroup boxes are up to date right after the picker opens
assert_greater_than: one has a box expected a number greater than 0 but got 0
- ¶
FAILOptions and optgroups have a box while the picker is open
assert_equals: one has one box expected 1 but got 0
- ¶
FAILOption and optgroup boxes are laid out in order in the picker
assert_greater_than: the label of group is above two expected a number greater than 0 but got 0
- ¶
FAILHit testing in the box of an option or optgroup in the picker finds it
assert_equals: one expected Element node <option>One</option> but got null
- ¶
FAILOption and optgroup boxes are up to date right after an earlier option in the picker grows
assert_greater_than: one grew expected a number greater than 10 but got 0
- ¶
FAILOption and optgroup boxes are up to date right after the select moves while the picker is open
assert_approx_equals: one moved down expected 30 +/- 0.5 but got 0
2 passing subtests
- Options and optgroups have no box while the picker is closed
- Options and optgroups have no box after the picker closes
select-picker-pseudo-box-type.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- A select rendering as a dropdown box has a ::picker(select).
- A select rendering as a list box because of size has no ::picker(select).
- A select rendering as a list box because of multiple has no ::picker(select).
select-picker-starting-style.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- @starting-style should work on ::picker(select) just like a popover.
select-pseudo-light-dismiss-invalidation.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- select should not match :open when light dismissed.
select-pseudo-open-display.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- A select keeps matching :open when its display changes while its picker is open.
- A :open rule that changes the display of a select keeps applying while its picker is open.
select-pseudo-open-move-remove.html 1 / 2 passingChrome 2 / 21 failedWith failures
- ¶
FAILRemoving a select while its picker is open closes the picker.
assert_false: The picker should not be showing. expected false got true
1 passing subtest
- A select moved with moveBefore() while its picker is open keeps matching :open.
select-pseudo-open-size.html 1 / 3 passingChrome 2 / 32 failedWith failures
- ¶
FAILA select that becomes a list box because of size stops matching :open.
assert_false: A list box should not match :open. expected false got true
- ¶
FAILA select that becomes a list box because of multiple stops matching :open.
assert_false: A list box should not match :open. expected false got true
1 passing subtest
- A select that stays a dropdown box when its size changes keeps its picker open.
select-pseudo-open-top-layer.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Showing an unrelated auto popover closes the picker.
- Showing an unrelated manual popover leaves the picker open.
- Showing an unrelated dialog closes the picker.
- Showing an unrelated modal dialog closes the picker.
select-pseudo-open.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- select should support :open pseudo selector.
- select :open and :not(:open) should invalidate correctly.
select-size-change.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Changing the size attribute should not crash.
select-synthetic-events.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- defaultbutton: Synthetic events should not trigger behaviors of select element.
- custombutton: Synthetic events should not trigger behaviors of select element.
select-tabindex-order.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Check that tabindex applies to <select>
select-value-selectedOption.html 11 / 11 passingChrome 11 / 110 failedClean
11 passing subtests
- Test that HTMLselect with no options has empty string for value and null for selectedOption
- Test value and selectedOption with HTMLOptionElement element option parts
- Test value and selectedOption when value is null
- Test value and selectedOption when value is undefined
- Test value with non-HTMLOptionElement elements labeled as parts
- Test that value and selectedOption are updated when options are removed
- Test that slotted-in selected-value part is updated to value of select
- Test that option parts in a slotted-in listbox are reflected in the value property
- Test that value and selectedOption are correctly updated
- Test that HTMLOption.selected updates select.value and select.selectedOptions
- Test that HTMLOption.value updates select.value
selected-option-parser-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/customizable-select/selected-option-parser-crash.html PASS none reported
No subtests were reported.
selectedcontent-attribute-change.html 7 / 7 passingChrome 5 / 70 failedClean
7 passing subtests
- Reducing a select's size to 1 updates selectedcontent.
- Removing a select's multiple attribute updates selectedcontent.
- Removing an option's disabled attribute updates selectedcontent.
- Removing an optgroup's disabled attribute updates selectedcontent.
- Adding an option's selected attribute updates selectedcontent.
- An attribute change that does not change selectedness does not update selectedcontent.
- Removing a select's multiple attribute updates selectedcontent when selectedness does not change.
selectedcontent-custom-element-reactions.html 6 / 6 passingChrome 3 / 60 failedClean
6 passing subtests
- The parser's clone of a custom element is upgraded and connected before the next script runs
- selectedIndex runs the reactions of the new and the old clone before returning
- setAttribute() of selected runs the reactions of the new and the old clone before returning
- reset() runs the reactions of the new and the old clone before returning
- Removing the selected option updates selectedcontent and runs the clones' reactions after remove() returns
- Changing the selection from a clone's connectedCallback runs the nested reactions before the nested call returns
selectedcontent-in-option-crash.html none reportedChrome —0 failedClean
/html/semantics/forms/the-select-element/customizable-select/selectedcontent-in-option-crash.html PASS none reported
No subtests were reported.
selectedcontent-insertion-removal.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Selectedcontent element removal steps.
- Selectedcontent element insertion steps.
- Option element insertion steps.
- Option element removal steps.
selectedcontent-movebefore.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Selectedcontent behavior with moving steps.
selectedcontent-mutations.html 7 / 8 passingChrome 5 / 81 failedWith failures
- ¶
FAILMutationObserver records during parsing of <select> with <selectedcontent>: test6
assert_equals: test6 expected "<select multiple=\"\" size=\"1\">\n <button>\n <selectedcontent></selectedcontent>\n <selectedcontent></selectedcontent>\n </button>\n <option>option</option>\n </select>" but got "<select multiple=\"\" size=\"1\">\n <button>\n <selectedcontent>\n <selectedcontent></selectedcontent>\n </selectedcontent>\n <selectedcontent>\n <selectedcontent></selectedcontent>\n </selectedcontent>\n </button>\n <option>option</option>\n </select>"
7 passing subtests
- MutationObserver records during parsing of <select> with <selectedcontent>: test1
- MutationObserver records during parsing of <select> with <selectedcontent>: test2
- MutationObserver records during parsing of <select> with <selectedcontent>: test3
- MutationObserver records during parsing of <select> with <selectedcontent>: test4
- MutationObserver records during parsing of <select> with <selectedcontent>: test5
- MutationObserver records during parsing of <select> with <selectedcontent>: test7
- MutationObserver records during parsing of <select> with <selectedcontent>: test8
selectedcontent-nested-select.html 2 / 2 passingChrome 1 / 20 failedClean
2 passing subtests
- A selectedcontent element inside a nested select is disabled and never updated.
- Removing an ancestor of a nested select enables its selectedcontent element.
selectedcontent-nested.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Modification behavior when nesting selectedcontent elements.
selectedcontent-omits-scripts-frames-and-plugins.html 2 / 2 passingChrome 0 / 20 failedClean
2 passing subtests
- Cloning a selected option into selectedcontent omits script, frame, iframe, embed, and object elements
- Selecting an option does not clone its frame and iframe elements into selectedcontent
selectedcontent-option-insertion.html 10 / 10 passingChrome 4 / 100 failedClean
10 passing subtests
- Inserting a non-selected option does not replace selectedcontent children.
- Inserting many non-selected options does not repeatedly replace selectedcontent children.
- Inserting an option that causes another option to be selected updates selectedcontent.
- Inserting multiple options together updates selectedcontent once.
- Inserting selectedcontent followed by an option updates selectedcontent once.
- Inserting an option followed by selectedcontent updates selectedcontent once.
- Inserting selectedcontent followed by an option that changes selectedness updates every selectedcontent once.
- Inserting a select that already contains options updates its selectedcontent once.
- Inserting an option that changes selectedness followed by selectedcontent updates every selectedcontent once.
- Inserting an option followed by selectedcontent while an update is pending updates the selectedcontent once.
selectedcontent-parser-adoption-agency.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Removing an option from the stack of open elements updates selectedcontent.
selectedcontent-parser-removal-csp-strict-dynamic.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- An option removed by the parser doesn't let a nonce-less script in a selected option run via selectedcontent
selectedcontent-parser-removal-script-runs-once.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- An option removed by the parser doesn't cause a not-yet-run script in a selected option to be cloned
selectedcontent-parser-script-csp-strict-dynamic.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Cloning a selected option into selectedcontent doesn't run parser-inserted scripts blocked by 'strict-dynamic'
selectedcontent-parser-script-runs-once.html 1 / 1 passingChrome 0 / 10 failedClean
1 passing subtest
- A parser-inserted script in a selected option isn't cloned into selectedcontent before it runs
selectedcontent-queued-update.html 10 / 10 passingChrome 1 / 100 failedClean
10 passing subtests
- Removing an option that causes another option to be selected updates selectedcontent.
- Removing options queues a single update of selectedcontent.
- A queued update of selectedcontent does nothing if it was updated in the meantime.
- Inserting an option performs a pending update of selectedcontent.
- Moving a selectedcontent element twice queues a single update.
- A queued update of a moved selectedcontent element does nothing if it was updated in the meantime.
- Inserting selectedcontent performs a pending update of its select's selectedcontent elements.
- Removing an unselected option from a list box without a selected option does not update selectedcontent.
- Moving a selectedcontent element and removing the selected option queues a single update.
- Moving a selectedcontent element into a select updates all of its selectedcontent elements.
selectedcontent-restore.optional.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- <selectedcontent> should be up to date after form restoration.
- <input> inside <selectedcontent> should be restored after form submission.
selectedcontent-subtree-mutations.html 3 / 3 passingChrome 2 / 30 failedClean
3 passing subtests
- selectedcontent stays up to date after an ancestor of the select is removed.
- selectedcontent stays up to date after an ancestor of the select is moved.
- selectedcontent moved into a select that becomes multiple before the microtask runs is not updated.
selectedcontent.html 10 / 11 passingChrome 9 / 111 failedWith failures
- ¶
FAILSetting option.selected without changing selectedness does not update the <selectedcontent>.
assert_not_equals: Re-assigning option.selected = true on an already-selected option should not update <selectedcontent>. got disallowed value "<span class=\"modified\">modified span</span> one"
10 passing subtests
- The <selectedcontent> element should reflect the HTML contents of the selected <option>.
- When there are multiple <selectedcontent> elements, both of them should be kept up to date.
- <seletedcontent> behavior in disconnected <select>.
- Setting HTMLOptionElement.selected updates the <selectedcontent>.
- Setting the option selected attribute updates the <selectedcontent>.
- Setting HTMLOptionElement.selected does not cause a redundant async selectedcontent update.
- form.reset() updates <selectedcontent> when an option has the selected attribute.
- Setting HTMLOptionElement.selected = false updates the <selectedcontent>.
- Setting option.selected = false in a listbox clears the <selectedcontent>.
- Removing an unselected option when another option became enabled updates <selectedcontent>.
switch-picker-appearance.html 1 / 9 passingChrome 9 / 98 failedWith failures
- ¶
FAILBasic functionality of select picker with appearance:auto
assert_equals: appearance:auto picker is opened expected "rgb(0, 128, 0)" but got "rgb(255, 0, 0)"
- ¶
FAILBasic functionality of select picker with appearance:none
assert_equals: appearance:none picker is opened expected "rgb(0, 128, 0)" but got "rgb(255, 0, 0)"
- ¶
FAILSwitching appearance in :open should close the picker
assert_false: Switching appearance in :open should re-close the picker expected false got true
- ¶
FAILSwitching appearance in JS after picker is open should close the picker
assert_false: changing appearance while the picker is open should close it expected false got true
- ¶
FAILTest of the test harness
assert_true: picker should open when clicked expected true got false
- ¶
FAILThe select picker is closed if the <select> appearance value is changed via CSS while the picker is open
assert_true: picker should open when clicked expected true got false
- ¶
FAILThe select picker is closed if the ::picker() appearance value is changed via CSS while the picker is open
assert_true: picker should open when clicked expected true got false
- ¶
FAILThe select picker is closed if the <select> inline appearance value is changed while the picker is open
assert_true: picker should open when clicked expected true got false
1 passing subtest
- Basic functionality of select picker and appearance