Bug 260812 - [css-nesting] Allow descendant type selectors to be nested without leading `&`
Summary: [css-nesting] Allow descendant type selectors to be nested without leading `&`
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Enhancement
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2023-08-28 12:32 PDT by Niklas Ljunglöf
Modified: 2023-09-01 07:02 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>