[wpt-sync] Sync PR 48540 - Implement concept of part-like pseudo-elements.
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
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
Assignee | ||
Updated•1 month ago
|
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Comment 2•1 month ago
|
||
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
Details
New Tests That Don't Pass
- /html/rendering/the-details-element/details-pseudo-elements-004.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - /html/rendering/the-details-element/details-pseudo-elements-005.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
Comment 4•28 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4498097bdfcb
https://hg.mozilla.org/mozilla-central/rev/d018001384e9
Description
•