Re: [csswg-drafts] [css-scoping-1][css-shadow-parts-1] Can the non-functional `:host` be compound? And should `::part()` select within its own shadow root? (#9981)

I just found [the Firefox bug for the bare `::part()` selector working in its own shadow root](https://bugzilla.mozilla.org/show_bug.cgi?id=1739682)—looks like that’s not supposed to work even though they’ve set it to `wontfix`. I’m going to close, but to summarize:

1. The compound selector `:host::part()` matching in its own root is valid (and intentional).
2. The bare `::part()` selector matching in its own root is invalid and there’s a bug for Firefox already reported.

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


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

Received on Tuesday, 20 February 2024 16:50:17 UTC