- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Thu, 26 Jan 2023 12:34:57 +0000
- To: public-css-archive@w3.org
Just pointing out that - `:focus-within` includes the element itself, so it may be convenient to avoid `:is(:focus, :has(:focus))` - `:focus-within` includes descendants in the flat tree, unlike `:has(:focus)` - It's likely that `:focus-within` has better performance -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8357#issuecomment-1404939311 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 26 January 2023 12:34:59 UTC