- From: Ekanuel via GitHub <sysbot+gh@w3.org>
- Date: Sun, 22 Dec 2024 23:51:52 +0000
- To: public-css-archive@w3.org
The spec should likely address this edge case to ensure consistent behavior across browsers. **Specifically:** Clarify Shadow DOM Behavior: The spec should specify how :focus-visible should behave when a ShadowRoot is involved. It could adopt a model similar to WebKit's, where the host element does not match :focus-visible if a descendant element inside the shadow DOM is focused. Avoid Duplicate Styling: The spec should explicitly state that only the most directly focused element (e.g., the input inside the shadow DOM) should match :focus-visible, not the host element. -- GitHub Notification of comment by Ekanuel Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5893#issuecomment-2558663413 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 22 December 2024 23:51:53 UTC