Re: [svgwg] :host(use) > symbol in a UA sheet does nothing.

The SVG Working Group just discussed `` `:host(use) > symbol` in a UA sheet does nothing``.

<details><summary>The full IRC log of that discussion</summary>
&lt;AmeliaBR> Topic: `:host(use) > symbol` in a UA sheet does nothing<br>
&lt;AmeliaBR> github: https://github.com/w3c/svgwg/issues/502<br>
&lt;AmeliaBR> Amelia: A symbol is defined to be display: none by default. However, when it is cloned into a use element shadow tree (as the directly referenced element on the &lt;use>), then it needs to display.<br>
&lt;AmeliaBR> ... Issue brought up has to do about how stylesheets match with shadow DOM content.<br>
&lt;AmeliaBR> Probably needs to change to `:shadow-root > symbol`, but I don't know if such a pseudoclass exists.<br>
&lt;AmeliaBR> ... because the symbol isn't actually a "child" of the use element, so can't use the `>` combinator.<br>
&lt;AmeliaBR> Chris: So what can we do?<br>
&lt;AmeliaBR> Amelia: One option is to go back to defining this in prose, like in SVG 1.1<br>
&lt;AmeliaBR> Chris: Don't want to define anything using shadow-piercing selectors, since those are still very unstable specifications.<br>
&lt;AmeliaBR> Amelia: Should be able to avoid shadow-piercing, by just defining the rule to apply within the shadow dom, with a regular `:root > symbol` selector.<br>
&lt;AmeliaBR> ... it means an extra user-agent stylesheet that only applies in use-element shadow trees.<br>
&lt;AmeliaBR> Chris: OK, we can propose that &amp; see what feedback we get.<br>
&lt;AmeliaBR> Proposed Resolution: Handle user-agent rules for `symbol` with a special stylesheet &amp; no shadow-piercing<br>
&lt;AmeliaBR> Resolution: Handle user-agent rules for `symbol` with a special stylesheet &amp; no shadow-piercing selectors<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/502#issuecomment-424110277 using your GitHub account

Received on Monday, 24 September 2018 20:17:28 UTC