- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Wed, 17 Jan 2024 17:43:43 +0000
- To: public-css-archive@w3.org
BTW, this is implemented buggy in WebKit: ```html <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <style> /*<![CDATA[*/ @namespace url("http://example.com/foo"); @namespace svg url("http://www.w3.org/2000/svg"); svg|svg { background: cyan } svg|svg:is(:hover, :focus) { background: green } /*]]>*/ </style> <svg tabindex="-1" id="svg" width="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"></svg> </html> ``` The default namespace prevents `:hover` from matching, but `:focus` can match. It's the opposite for `:is(:focus, :hover)`. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5684#issuecomment-1896294739 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 17 January 2024 17:43:46 UTC