Bug 249746 - [css-nesting] Implement nested selector matching
Summary: [css-nesting] Implement nested selector matching
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 223497
  Show dependency treegraph
 
Reported: 2022-12-21 14:12 PST by Matthieu Dubet
Modified: 2022-12-31 01:09 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 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.