Skip to content

[css-shadow-parts-1] vendor prefixed pseudo elements support #4530

Open
@liamdebeasi

Description

@liamdebeasi

As per the spec, the ::part() pseudo-element can take additional pseudo-elements after it such as ::before (source: https://drafts.csswg.org/css-shadow-parts/#part).

Does this extend to vendor-prefixed pseudo-elements as well? The current behavior in Chrome and the latest Safari Tech Preview (96 as of writing) is that prefixed pseudo elements do not work with shadow parts.

Example: https://codepen.io/liamdebeasi/pen/jOOpQKa

I'm wondering if this is just a browser bug, or maybe a part of the spec that just needs clarification. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions