https://drafts.csswg.org/cssom/#serialize-a-css-rule The serialization of "implicit" nested rule inside group rule such as: #foobar { @media { color:black; } } which is implicitly #foobar { @media { & { color:black; } } } is not precisely specified, but we should try to serialize the minimal equivalent
<rdar://problem/107190613>
Pull request: https://github.com/WebKit/WebKit/pull/12008
Committed 262177@main (f4dfe341bdcc): <https://commits.webkit.org/262177@main> Reviewed commits have been landed. Closing PR #12008 and removing active labels.