Bug 238822

Summary: Match elements without parent with child-indexed pseudo-classes
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: CSSAssignee: Antti Koivisto <koivisto>
Status: RESOLVED FIXED    
Severity: Normal CC: ahmad.saleem792, koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://wpt.fyi/results/css/selectors?label=master&label=experimental&aligned&view=subtest&q=child-indexed-no-parent.html%20or%20child-indexed-pseudo-class.html%20or%20selector-structural-pseudo-root.html%20label%3Ainterop-2023-pseudos

Description Tim Nguyen (:ntim) 2022-04-05 10:57:18 PDT
child-indexed selectors (nth-child, first-child, etc.) should match without a parent element.
Comment 1 Tim Nguyen (:ntim) 2022-04-06 08:34:02 PDT
WPTs:
- css/selectors/child-indexed-no-parent.html
- css/selectors/child-indexed-pseudo-class.html
- css/selectors/selector-structural-pseudo-root.html
Comment 2 Radar WebKit Bug Importer 2022-04-12 10:58:15 PDT
<rdar://problem/91637426>
Comment 3 Antti Koivisto 2023-05-17 05:05:40 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13958
Comment 4 EWS 2023-05-26 21:03:37 PDT
Committed 264620@main (a88e588d1688): <https://commits.webkit.org/264620@main>

Reviewed commits have been landed. Closing PR #13958 and removing active labels.