Bug 256578 - [css-nesting] Don't serialize the implicit parent selector in relative selector
Summary: [css-nesting] Don't serialize the implicit parent selector in relative selector
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-05-10 01:03 PDT by Matthieu Dubet
Modified: 2023-05-10 08:37 PDT (History)
1 user (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-05-10 01:03:54 PDT
foo {
 > .bar {
 }
}

is semantically equivalent (and converted) to

foo {
 & > .bar {
 }
}

but it should not be visible in the serialization of the selector.
Comment 1 Radar WebKit Bug Importer 2023-05-10 01:04:49 PDT
<rdar://problem/109141615>
Comment 2 Matthieu Dubet 2023-05-10 01:32:29 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13684
Comment 3 EWS 2023-05-10 08:37:36 PDT
Committed 263902@main (22a69c73dd84): <https://commits.webkit.org/263902@main>

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