Closed Bug 1937951 Opened 2 months ago Closed 2 months ago

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

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox135 fixed)

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Reilly Grant <reillyg@chromium.org> wrote:

Revert "Handle appearance value changes during <select> showPicker."

This reverts commit b0d64404c5c3c10ac474752095c0ecea7501574a.

Reason for revert: Failing consistently on a number of builders, e.g. https://ci.chromium.org/ui/p/chromium/builders/ci/mac11-arm64-rel-tests/50289/overview.

Original change's description:

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/c/chromium/src/+/6094831
Auto-Submit: Mason Freed \<masonf@chromium.org>
Reviewed-by: Joey Arhar \<jarhar@chromium.org>
Commit-Queue: Mason Freed \<masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1397591}

Bug: 384394713
Change-Id: I99a287e125cdf88f6933111181e1a2bdcaf7576d
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6103306
Bot-Commit: Rubber Stamper \<rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: Reilly Grant \<reillyg@chromium.org>
Owners-Override: Reilly Grant \<reillyg@chromium.org>
Commit-Queue: Reilly Grant \<reillyg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1397653}

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: 1
FAIL: 8

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: FAIL, Safari: FAIL)
    • Basic functionality of select picker with appearance:none: FAIL (Chrome: FAIL, 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: FAIL, 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/94864977b410 [wpt PR 49751] - Revert "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.