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.
rdar://103147312
Pull request: https://github.com/WebKit/WebKit/pull/8162
Committed 258560@main (fb1992149cc1): <https://commits.webkit.org/258560@main> Reviewed commits have been landed. Closing PR #8162 and removing active labels.
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