Bug 249746

Summary: [css-nesting] Implement nested selector matching
Product: WebKit Reporter: Matthieu Dubet <m_dubet>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: m_dubet, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 223497    

Description Matthieu Dubet 2022-12-21 14:12:39 PST
To reuse the existing CSS Selector JIT Compiler, we should translate any nested selector rule to the equivalent flat (=non nested) one via the pseudo class :is()

https://drafts.csswg.org/css-nesting/#nest-selector

Part of the more general css-nesting-1 bug 223497
Comment 1 Matthieu Dubet 2022-12-21 14:14:13 PST
rdar://103147183
Comment 2 Matthieu Dubet 2022-12-23 12:59:46 PST
Pull request: https://github.com/WebKit/WebKit/pull/8051
Comment 3 EWS 2022-12-31 01:09:22 PST
Committed 258367@main (8972793414d9): <https://commits.webkit.org/258367@main>

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