Closed Bug 1937695 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 49720 - Implement input:open

Categories

(Core :: Layout: Generated Content, Lists, and Counters, 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 49720 into mozilla-central (this bug is closed when the sync is complete).

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

Joey Arhar <jarhar@chromium.org> wrote:

Implement input:open

The :open pseudo-class is specced to work on input elements which
support pickers, so this patch implements :open for input elements.

I manually tested that this works on android which has different code
paths for pickers. I didn't find any tests for these pickers on android
in the first place, except for \<input type=file>, based on this:
https://chromium-review.googlesource.com/c/chromium/src/+/6075965

Bug: 324293874
Change-Id: I8a638d0a3ce7edaf39bd2bc9655c0b3aba0f62fb

Reviewed-on: https://chromium-review.googlesource.com/6051109
WPT-Export-Revision: e8bf90fc4d1e6da76c9500a8c4f3c0c45ec48c0e

Component: web-platform-tests → Layout: Generated Content, Lists, and Counters
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 7 subtests

Status Summary

Firefox

OK : 1
FAIL: 7

Chrome

OK : 1
PASS: 1
FAIL: 6

Safari

OK : 1
FAIL: 7

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/css-pseudo/input-element-pseudo-open.optional.html [wpt.fyi]
    • CSS :open for <input type=date>: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSS :open for <input type=datetime-local>: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSS :open for <input type=week>: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSS :open for <input type=month>: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSS :open for <input type=time>: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSS :open for <input type=color>: FAIL (Chrome: FAIL, Safari: FAIL)
    • CSS :open for <input type=text list=datalist>: FAIL (Chrome: PASS, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/22cff5cd81f7 [wpt PR 49720] - Implement input:open, a=testonly https://hg.mozilla.org/integration/autoland/rev/a5957c86a650 [wpt PR 49720] - Update wpt metadata, 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.