Bug 266844 - Incorrect Web Platform Test for State CSS Shadow DOM Selector
Summary: Incorrect Web Platform Test for State CSS Shadow DOM Selector
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Trivial
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-12-23 03:26 PST by Keith Cirkel
Modified: 2023-12-23 04:49 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>