Bug 256180

Summary: Implement supports() syntax for @import rules
Product: WebKit Reporter: Sebastian Zartner <sebastianzartner>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ahmad.saleem792, bfulgham, bramus, jensimmons, koivisto, oj, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://drafts.csswg.org/css-cascade-4/#typedef-import-conditions

Description Sebastian Zartner 2023-05-01 14:51:58 PDT
CSS Cascading 4 defines a supports() syntax for @import rules allowing support-dependent importing of other style sheets. See https://drafts.csswg.org/css-cascade-4/#typedef-import-conditions.

This feature is important for different features, especially for those introducing new syntax like CSS Nesting.

Sebastian
Comment 1 Radar WebKit Bug Importer 2023-05-08 14:52:27 PDT
<rdar://problem/109060734>
Comment 2 Tim Nguyen (:ntim) 2023-11-24 17:03:20 PST
*** Bug 265329 has been marked as a duplicate of this bug. ***
Comment 3 Matthieu Dubet 2024-01-24 13:48:45 PST
Pull request: https://github.com/WebKit/WebKit/pull/23190
Comment 4 EWS 2024-01-26 17:46:52 PST
Committed 273591@main (8338db44d918): <https://commits.webkit.org/273591@main>

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