Closed Bug 1879202 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44454 - Implement :open and :closed pseudo classes

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Joey Arhar <jarhar@chromium.org> wrote:

Implement :open and :closed pseudo classes

These are in the CSS spec here: https://drafts.csswg.org/selectors-4/#open-state

I am going to try to get this specced in the HTML spec as well.

Bug: 324293874
Change-Id: I6e056f9eb899507693fd686c2cf65f8334c75153

Reviewed-on: https://chromium-review.googlesource.com/5278021
WPT-Export-Revision: b9b59ebc88b1b8c4be0d15c9657a7c1921f5f147

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core

CI Results

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

Total 1 tests and 3 subtests

Status Summary

Firefox

OK : 1
FAIL: 3

Chrome

OK : 1
FAIL: 3

Safari

OK : 1
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /css/selectors/open-closed-pseudo.html [wpt.fyi]
    • The dialog element should support :open and :closed.: FAIL (Chrome: FAIL, Safari: FAIL)
    • The details element should support :open and :closed.: FAIL (Chrome: FAIL, Safari: FAIL)
    • The select element should support :open and :closed.: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a3157aa6601a [wpt PR 44454] - Implement :open and :closed pseudo classes, a=testonly https://hg.mozilla.org/integration/autoland/rev/5f13fafaeff1 [wpt PR 44454] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.