Re: [csswg-drafts] [css-values] attr() and part() / slotted() / element backed pseudo-elements behave inconsistently. (#12721)

@tabatkins you kinda need that right? You can style parts from different trees with exportparts (not only inside / outside). So `#outer::part(foo)` / `#inner::part(foo)` should look at different elements... I guess the only confusing behavior would be `:host::part(foo)` vs. `div[part=foo]`. The later should probably look at the real `<div>` for sure. The former probably would too if we define this the same way as tree-scoping, but that might be a bit confusing?

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


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

Received on Thursday, 12 February 2026 10:10:53 UTC