Re: [csswg-drafts] [css-scoping] * should also select shadow roots, a non-element node (#8184)

Selectors from outside the shadow tree not matching the shadow tree is a feature, not a bug. What you're seeing is one of the subtle ways shadow dom is observable, because the inheritance parent is different from the DOM parent. This is described in https://drafts.csswg.org/css-scoping-1/#flattening

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


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

Received on Monday, 5 December 2022 08:16:12 UTC