这是indexloc提供的服务,不要输入任何密码
Skip to content

[css-conditional-5] @supports-condition #567

@SebastianZ

Description

@SebastianZ

WebKittens

No response

Title of the proposal

@supports-condition

URL to the spec

https://drafts.csswg.org/css-conditional-5/#supports-condition-rule

URL to the spec's repository

https://github.com/w3c/csswg-drafts/

Issue Tracker URL

No response

Explainer URL

No response

TAG Design Review URL

No response

Mozilla standards-positions issue URL

mozilla/standards-positions#1312

WebKit Bugzilla URL

https://bugs.webkit.org/show_bug.cgi?id=301657

Radar URL

No response

Description

Initially proposed in w3c/csswg-drafts#12622, recently added to CSS Conditional 5.

I believe, @supports-condition is something that should be implemented rather sooner than later, because it not only allows to combine multiple checks into one and allows to reuse them, but also makes it possible to test support for features that are currently not testable like nesting or other at-rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions