[wpt-sync] Sync PR 63541 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327130
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox160 fixed)
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63541 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63541
Details from upstream follow.
Anne van Kesteren <annevk@annevk.nl> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=327130
WebKit export from bug: Picking the selected option of a single-select deselects it
<pre>
Picking the selected option of a single-select deselects itThe pick an option algorithm only sets the selectedness of an option to true, so users cannot
deselect the option of a single-select, as with a native list box. Yet activating the selected
option of a base appearance single-select list box deselected it, and so did assistive technology
there. The HTML standard defines the access key of an option to pick it, or toggle it in a select
with multiple, but unless the select had a base appearance picker it went through
HTMLSelectElement::accessKeySetSelectedIndex(), which toggled it in any select. That also left the
selectedOptions collection stale, and focused and clicked the select first.Remove the deselection from pickOrToggleOption(), and have HTMLOptionElement::accessKeyAction() and
HTMLOptionElement::setSelectedByUser() use it regardless of appearance, so that
accessKeySetSelectedIndex() can go. pickOrToggleOption() now only hides a base appearance picker.pickOrToggleOption() still only sets the dirtiness of the option for base appearance. Picking and
toggling set it regardless of appearance, but no native user interaction sets it yet, not the
native popup nor mouse and keyboard input, so neither should the access key or assistive
technology. Setting it for all of native appearance is left for a separate change.customizable-select-listbox-mouse-behavior.html expected the deselection, so update it.
WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=327130">https://bugs.webkit.org/show_bug.cgi?id=327130</a>
</pre>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 12 tests and 3 subtests
Status Summary
Firefox
OK : 1[GitHub] 5[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 1[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 2[GitHub]
FAIL : 2[GitHub] 13[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 18[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 2
NOTRUN : 2
Chrome
OK : 2
PASS : 3
FAIL : 4
Safari
OK : 2
FAIL : 7
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
New Tests That Don't Pass
- /html/semantics/forms/the-select-element/customizable-select-listbox/customizable-select-listbox-appearance-focused.html [wpt.fyi]:
FAIL - /html/semantics/forms/the-select-element/customizable-select-listbox/customizable-select-listbox-appearance-grid.html [wpt.fyi]:
FAIL - /html/semantics/forms/the-select-element/customizable-select-listbox/customizable-select-listbox-appearance.html [wpt.fyi]:
FAIL - /html/semantics/forms/the-select-element/customizable-select-listbox/customizable-select-listbox-sizing.html [wpt.fyi]:
FAIL - /html/semantics/forms/the-select-element/customizable-select-listbox/listbox-hr-appearance.html [wpt.fyi]:
FAIL - /html/semantics/forms/the-select-element/customizable-select-listbox/customizable-select-listbox-keyboard-behavior.optional.html [wpt.fyi]
- Keyboard behavior for base appearance <select multiple>:
FAIL - Keyboard behavior for base appearance <select size=4>:
FAIL - Base appearance listbox selects should not be focusable.:
FAIL - Tabbing and shift+tabbing into base appearance listbox.:
FAIL
- Keyboard behavior for base appearance <select multiple>:
- /html/semantics/forms/the-select-element/customizable-select-listbox/customizable-select-listbox-mouse-behavior.html [wpt.fyi]
- mouse: input behavior for base appearance <select multiple>:
FAIL(Chrome:PASS, Safari:FAIL) - mouse: input behavior for base appearance <select size=4>:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[GitHub] (Chrome:FAIL, Safari:FAIL) - touch: input behavior for base appearance <select multiple>:
FAIL(Chrome:PASS, Safari:FAIL) - touch: input behavior for base appearance <select size=4>:
FAIL[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[GitHub] (Chrome:FAIL, Safari:FAIL)
- mouse: input behavior for base appearance <select multiple>:
- /html/semantics/forms/the-select-element/customizable-select-listbox/select-listbox-home-end-pagedown-pageup.optional.html [wpt.fyi]
- single: Home/End/PageUp/PageDown should move focus between options and scroll.:
FAIL - multiple: Home/End/PageUp/PageDown should move focus between options and scroll.:
FAIL
- single: Home/End/PageUp/PageDown should move focus between options and scroll.:
- /html/semantics/forms/the-select-element/customizable-select-listbox/select-listbox-typeahead.optional.html [wpt.fyi]
- <select>: Typeahead should focus options without checking them.:
FAIL - <select multiple>: Typeahead should focus options without checking them.:
FAIL
- <select>: Typeahead should focus options without checking them.:
- /html/semantics/forms/the-select-element/customizable-select-listbox/selectedcontent-listbox.html [wpt.fyi]
- <select size=4> should support <selectedcontent>.:
FAIL
- <select size=4> should support <selectedcontent>.:
- /html/semantics/interactive-elements/commands/option/option-accesskey.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:OK)- The access key of an option picks it in a dropdown box:
TIMEOUT(Chrome:FAIL, Safari:FAIL) - The access key of an option picks it in a list box:
NOTRUN(Chrome:FAIL, Safari:FAIL) - The access key of an option toggles it in a select with multiple:
NOTRUN(Chrome:PASS, Safari:FAIL)
- The access key of an option picks it in a dropdown box:
https://hg.mozilla.org/mozilla-central/rev/4fbf7fd359a3
https://hg.mozilla.org/mozilla-central/rev/5a22c7e23ad7
Description
•