- From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
- Date: Fri, 28 Sep 2018 01:48:07 +0000
- To: public-svg-issues@w3.org
So, to recap: I was using the `:host()` selector incorrectly; it matches the actual host element in the light tree, not the shadow root node created for the host. Since there isn't a designated selector that only matches shadow roots (let alone shadow roots with a specific host type) we have to use the `:root` selector and then clarify that the rule only applies within use-element shadow trees. There's nothing unusual about shadow trees having their own stylesheets. And they always have the usual user-agent stylesheets. I don't think there is any other explicit case of requiring a user-agent stylesheet that is unique to a particular type of shadow tree. But there are many cases of HTML replaced elements that probably work out that way. And since we've also agreed that use-element shadow trees are closed (#396), user agents would have flexibility about how they actually implement it. -- GitHub Notification of comment by AmeliaBR Please view or discuss this issue at https://github.com/w3c/svgwg/issues/502#issuecomment-425294662 using your GitHub account
Received on Friday, 28 September 2018 01:48:09 UTC