Skip to content

compat.rs: Media query interval syntax incorrectly marked as globally unsupported #331

@LeoniePhiline

Description

@LeoniePhiline

Range vs interval syntax

Reading the above sources, it appears to me as if browsers make no difference between range ((width < 500px)) and interval ((200px <= width < 500px)) syntax, following CSS Media Queries 4 while lightningcss treats range syntax as supported and interval syntax as (incorrectly) unsupported.

Supported by various browser distribs:

Marked as globally unsupported:

Interval syntax demo

https://jsfiddle.net/cwmefnq9/

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