Closed Bug 1937904 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 49741 - Handle appearance value changes during <select> showPicker.

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 49741 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/49741
Details from upstream follow.

Mason Freed <masonf@chromium.org> wrote:

Handle appearance value changes during <select> showPicker.

When the appearance value changes as the result of the picker
opening (e.g. via ::picker(select):open {appearance:auto} or
similar), we close the picker to avoid any oscillation or
nonsensical behavior. This CL implements this change.

Fixed: 376097114,370536090,367426156
Bug: 384394713
Change-Id: Ic94b1c860782eba594e18fb4469e6826ae6c2d03
Reviewed-on: https://chromium-review.googlesource.com/6094831
WPT-Export-Revision: c8a60140881df77afb9d3f43bd35970de40c819e

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 9 subtests

Status Summary

Firefox

OK : 1
FAIL: 9

Chrome

OK : 1
PASS: 4
FAIL: 5

Safari

OK : 1
FAIL: 9

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/semantics/forms/the-select-element/customizable-select/switch-picker-appearance.tentative.html [wpt.fyi]
    • Basic functionality of select picker and appearance: FAIL (Chrome: PASS, Safari: FAIL)
    • Basic functionality of select picker with appearance:auto: FAIL (Chrome: PASS, Safari: FAIL)
    • Basic functionality of select picker with appearance:none: FAIL (Chrome: PASS, Safari: FAIL)
    • Switching appearance in popover-open should close the picker: FAIL (Chrome: FAIL, Safari: FAIL)
    • Switching appearance in JS after picker is open should close the picker: FAIL (Chrome: PASS, Safari: FAIL)
    • Test of the test harness: FAIL (Chrome: FAIL, Safari: FAIL)
    • The select picker is closed if the <select> appearance value is changed via CSS while the picker is open: FAIL (Chrome: FAIL, Safari: FAIL)
    • The select picker is closed if the ::picker() appearance value is changed via CSS while the picker is open: FAIL (Chrome: FAIL, Safari: FAIL)
    • The select picker is closed if the <select> inline appearance value is changed while the picker is open: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/515765dc9ded [wpt PR 49741] - Handle appearance value changes during <select> showPicker., a=testonly
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in before you can comment on or make changes to this bug.