Bug 250042 - [css-nesting] Implement nesting at-rules inside style rule
Summary: [css-nesting] Implement nesting at-rules inside style rule
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:
 
Reported: 2023-01-03 13:07 PST by Matthieu Dubet
Modified: 2023-01-07 12:53 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 2023-01-03 13:07:43 PST
https://drafts.csswg.org/css-nesting/#conditionals

The specification allows nested group rules inside of style rules: any at-rule whose body contains style rules can be nested inside of a style rule as well.

We don't support the @scope at-rules feature yet, but we should implement nesting support for @media, @layer, @container and @supports.
Comment 1 Matthieu Dubet 2023-01-03 13:08:16 PST
rdar://103147312
Comment 2 Matthieu Dubet 2023-01-03 13:31:21 PST
Pull request: https://github.com/WebKit/WebKit/pull/8162
Comment 3 EWS 2023-01-06 14:14:31 PST
Committed 258560@main (fb1992149cc1): <https://commits.webkit.org/258560@main>

Reviewed commits have been landed. Closing PR #8162 and removing active labels.
Comment 4 Antoine Quint 2023-01-07 12:53:04 PST
I believe this made fast/css-generated-content/noscript-pseudo-anim-crash.html crash:

https://results.webkit.org/?suite=layout-tests&test=fast%2Fcss-generated-content%2Fnoscript-pseudo-anim-crash.html