Bug 260812

Summary: [css-nesting] Allow descendant type selectors to be nested without leading `&`
Product: WebKit Reporter: Niklas Ljunglöf <slipped-gazette.0w>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Enhancement CC: agafvv, karlcow, m_dubet, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Niklas Ljunglöf 2023-08-28 12:32:09 PDT
According to recent changes to the spec:
– https://drafts.csswg.org/css-nesting/#example-82c7d228https://github.com/w3c/csswg-drafts/issues/7961

The implementation in Firefox 117 supports this.

WPT test: https://wpt.fyi/results/css/css-nesting/nesting-type-selector.html
Comment 1 Matthieu Dubet 2023-08-28 12:44:21 PDT
rdar://113475843
Comment 2 Matthieu Dubet 2023-08-29 09:13:06 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17189
Comment 3 EWS 2023-09-01 07:01:58 PDT
Committed 267549@main (2cfe184f6dbe): <https://commits.webkit.org/267549@main>

Reviewed commits have been landed. Closing PR #17189 and removing active labels.
Comment 4 Radar WebKit Bug Importer 2023-09-01 07:02:15 PDT
<rdar://problem/114819266>