[WICG/webcomponents] SVG <use> tag with CSS ::part selector (Issue #955)

I have an edge case with https://codepen.io/glandos/pen/XWzWgbe

In Firefox:
![image](https://user-images.githubusercontent.com/297578/151016055-b591718f-8ac0-45e7-84a9-ada355bc9086.png)
In Chromium-based browser:
![image](https://user-images.githubusercontent.com/297578/151016156-6e3ac940-8452-4ea3-98a7-ff60feffb056.png)

The CSS is:
```css
circle {
  fill: red;
}

g *::part(export) {
  fill: blue;
}
```
The first circle is defined in the group, the other one is via a `def/use`, so it is drawn within a closed shadow DOM.
Is it covered in any spec right now? It's hard to find what should be applied. Of course, I'd like to think that Firefox does the right thing because that's what I want to do :smile: 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/955
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/955@github.com>

Received on Tuesday, 25 January 2022 16:23:23 UTC