Bug 256180 - Implement supports() syntax for @import rules
Summary: Implement supports() syntax for @import rules
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://drafts.csswg.org/css-cascade-...
Keywords: InRadar
: 265329 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-05-01 14:51 PDT by Sebastian Zartner
Modified: 2024-01-26 17:46 PST (History)
8 users (show)

See Also:


Attachments

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