Bug 254432

Summary: [css-nesting] Implement CSS OM read-only (serialize CSS rule) with nesting
Product: WebKit Reporter: Matthieu Dubet <m_dubet>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Matthieu Dubet 2023-03-24 09:44:10 PDT
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
Comment 1 Radar WebKit Bug Importer 2023-03-24 09:44:34 PDT
<rdar://problem/107190613>
Comment 2 Matthieu Dubet 2023-03-27 09:15:28 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12008
Comment 3 EWS 2023-03-27 15:12:30 PDT
Committed 262177@main (f4dfe341bdcc): <https://commits.webkit.org/262177@main>

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