Skip to content

Support (500px <= width) syntaxΒ #47

@lschmelzeisen

Description

@lschmelzeisen

The following transformation works as expected:

@media (width >= 500px) {}
/* becomes: */
@media (min-width: 500px) {}

However, I just noticed, that the following does not work:

@media (500px <= width) {}
/* does not become the following: */
@media (min-width: 500px) {}

To my understanding also the latter syntax is expected to work according to Example 16 of Media Queries Level 4 and at least Firefox and Chrome already understand it.

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