Skip to content

[css-scoping-1] ::placeholder selector inside ::slotted() not working #3150

Closed
@jorenbroekema

Description

@jorenbroekema

Referencing this issue #1747

Working as intended:
::slotted(::hover){ color: red; }

Not working:
::slotted(::placeholder){ color: red; }

From the issue I am referencing, it seems like it is supposed to not work in both scenarios, as option 3 was chosen to be allowed and option 2 was not. So basically, ::slotted()::hover should work but ::slotted(::hover) should not. At least, this was my interpretation of that issue.

Could someone give some clarification on what should work and what should not, and perhaps why in my case the ::placeholder selector within ::slotted does not work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions