Bug 266844

Summary: Incorrect Web Platform Test for State CSS Shadow DOM Selector
Product: WebKit Reporter: Keith Cirkel <webkit>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Trivial CC: ntim, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
See Also: https://github.com/web-platform-tests/wpt/pull/43783

Description Keith Cirkel 2023-12-23 03:26:51 PST
https://wpt.fyi/results/custom-state-pseudo-class/state-css-selector-shadow-dom.tentative.html the tests in this are slightly wrong due to some minor errors with the CSS. It uses the selector `:host:state(green)` which is invalid, it should be `:host(:state(green))`. The tests need to be tweaked for them to be valid.
Comment 1 Keith Cirkel 2023-12-23 04:30:45 PST
https://github.com/WebKit/WebKit/pull/22222
Comment 2 EWS 2023-12-23 04:48:15 PST
Committed 272469@main (4dd84e9fa371): <https://commits.webkit.org/272469@main>

Reviewed commits have been landed. Closing PR #22222 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-12-23 04:49:14 PST
<rdar://problem/120069004>