Closed Bug 1923637 Opened 1 month ago Closed 28 days ago

[wpt-sync] Sync PR 48540 - Implement concept of part-like pseudo-elements.

Categories

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

task

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

David Baron <dbaron@chromium.org> wrote:

Implement concept of part-like pseudo-elements.

This implements the concept of part-like pseudo-elements, specified in
https://drafts.csswg.org/css-pseudo-4/#part-like-pseudo-elements by
providing a place to define pseudo-elements as part-like, and allowing
more pseudo-elements and pseudo-classes to be after part-like
pseudo-elements.

Note that this currently requires that a part-like pseudo-element be a
UA shadow pseudo-element; we don't support it for other pseudo-element
types. In other words, it has to be backed by a real element. This is
a reasonable restriction since it matches what part-like pseudo-elements
conceptually represent. (One way to think about the terms is that
tree-like pseudo-elements are backed by a real box, and part-like
pseudo-elements are backed by a real element.)

This change makes two not-yet-shipped pseudo-elements be part-like:

  • ::picker(select) for the customizable \<select> element

  • ::details-content for the \<details> element (which is also made a
    tree-abiding pseudo-element here, since it incorrectly wasn't so
    before)

Bug: 356158098, 1469418
Change-Id: Ia49042ea0648081c78b9cdc7d4dcffcbd92cd491
Reviewed-on: https://chromium-review.googlesource.com/5836755
WPT-Export-Revision: 26184104ea0cc3865ee3e1e3df238e1cab3c813b

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 2 tests

Status Summary

Firefox

FAIL: 2

Chrome

FAIL: 2

Safari

FAIL: 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4498097bdfcb [wpt PR 48540] - Implement concept of part-like pseudo-elements., a=testonly https://hg.mozilla.org/integration/autoland/rev/d018001384e9 [wpt PR 48540] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 28 days ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.