- From: L. David Baron via GitHub <sysbot+gh@w3.org>
- Date: Wed, 14 Jun 2023 13:24:47 +0000
- To: public-css-archive@w3.org
I believe the performance of `:has()` is significant in some cases, although that belief is based on conversations with implementers rather than measurement. In particular, I see occasional suggestions for things like implementing a dark theme checkbox using `:root:has(#dark-theme-control:checked) ...` selectors, and my understanding is that a significant number of `:root:has(...)` selectors on a large page would add up to a measurable performance problem. -- GitHub Notification of comment by dbaron Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8357#issuecomment-1591205797 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 14 June 2023 13:24:49 UTC