WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 282687
296622
:host:has() should match
https://bugs.webkit.org/show_bug.cgi?id=296622
Summary
:host:has() should match
Matt Clough
Reported
2025-07-29 07:45:45 PDT
Overview: Per CSSWG resolution (
https://github.com/w3c/csswg-drafts/issues/10693#issuecomment-2289330553
), the `:host:has()` selector should match. Reproduction/Demo:
https://codepen.io/mattclough/pen/bNVBLWm?editors=1000
Expected results: The shadow root host should be selected, consistent with
https://github.com/mozilla/wg-decisions/issues/1592
Actual results: The shadow root host is not selected Build Date & Hardware: Build 20622.1.20.1 on macOS 15.5 (24F74)
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-08-05 07:46:12 PDT
<
rdar://problem/157565412
>
Sam Sneddon [:gsnedders]
Comment 2
2025-09-05 14:50:01 PDT
*** This bug has been marked as a duplicate of
bug 282687
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug