Skip to content

[css-conditional-4] @supports shorthand #7022

@NagayamaToshiaki

Description

@NagayamaToshiaki
  • please be specific (in the title and issue) about what you want to change:
    If you want to see if the property name is supported, current implementation of @supports is redundant.
@supports(some-new-feature: value) {
    .foo {
        some-new-feature: value;
    }
}

Instead, I would like to write it as:

@supports(some-new-feature) {
    .foo {
        some-new-feature: value;
    }
}

https://www.w3.org/TR/css-conditional-3/#at-supports

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions