Re: [csswg-drafts] [scoping] Consider making `:slotted(...)` a pseudo class (#7305)

If I had to guess, it was done this way because technically you are selecting a `slot` element with the `::slotted` pseudo element. The `slot` belongs to the tree with the style, but the slotted content doesn't. I guess this makes sense.

Still sort of confusing though 😄 

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 25 May 2022 02:56:25 UTC