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

jorenbroekema has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-scoping-1] ::placeholder selector inside ::slotted() not working ==
Referencing this issue https://github.com/w3c/csswg-drafts/issues/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? 



Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3150 using your GitHub account

Received on Tuesday, 25 September 2018 14:34:43 UTC