Closed Bug 1871990 Opened 9 months ago Closed 9 months ago

[wpt-sync] Sync PR 43796 - Pseudos after ::part() are valid

Categories

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

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Tab Atkins Jr <jackalmage@gmail.com> wrote:

Pseudos after ::part() are valid

https://drafts.csswg.org/selectors/#pseudo-element-states restricts pseudo-classes on pseudo-elements to the user action and logical combo ones by default, but allows other specs to allow other pseudos.

https://drafts.csswg.org/css-shadow-parts/#part allows all pseudo-classes (but defines that a few never match, if they reveal tree structure).

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cfcbe940bff2 [wpt PR 43796] - Pseudos after ::part() are valid, a=testonly https://hg.mozilla.org/integration/autoland/rev/4e967572bab7 [wpt PR 43796] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.