- From: Tim Nguyen via GitHub <sysbot+gh@w3.org>
- Date: Tue, 21 Jan 2025 22:59:29 +0000
- To: public-css-archive@w3.org
I'd like to object to that. It's just generally strange to have properties affect selector matching directly, and a lot of questions to resolve around it (querySelector/matches/etc.). Also, circularity is also directly an issue: ``` :hover > foo { stop-propagation: hover; } ``` I'd be more in favor in what Emilio proposed of applying this behavior automatically for top layer elements, given they somewhat behave like detached elements from the DOM in some sense. It would also solve for other popover/modal/fullscreen, where preventing this propagation sounds desirable. I also don't think it necessarily blocks from such extension from being added in the future if someone comes back with a more solid proposal. -- GitHub Notification of comment by nt1m Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11185#issuecomment-2605912582 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 21 January 2025 22:59:29 UTC