Skip to content

MediaQuery does not work with screen and print media queries #15930

Closed
@techniq

Description

@techniq

Describe the bug

Due to the inclusion of parenthesizes, new MediaQuery('screen') and new MediaQuery('print') do not work as expected.

Reproduction

REPL demonstrating window.matchMedia('...') compared to new MediaQuery('...').

System Info

Severity

blocking an upgrade

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