Re: [csswg-drafts] [css-scoping-1] ::placeholder selector inside ::slotted() not working

Yeah, the argument to `::slotted()` is a selector that is matched against the elements that get slotted. By definition, none of these elements are pseudo-elements, so `::slotted(::placeholder)` can never match anything.

But yeah, `::slotted()::placeholder` *should* work, and if it doesn't, that's a browser bug.

(`::slotted(::hover)` definitely *shouldn't* be working, as there's no pseudo-element named `::hover`. Are you sure you actually have that precise selector in your stylesheet, or do you have `::slotted(:hover)` instead?)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3150#issuecomment-425300585 using your GitHub account

Received on Friday, 28 September 2018 02:26:33 UTC