Skip to content

[css-env-1] should define what happens when a predefined variable specific to certain media doesn't match the medium #2819

@dbaron

Description

@dbaron

In #2629#2807 we're starting to define predefined variables, and these have an associated medium.

Something ought to say what this means. In particular, I suspect what should happen is that if CSS is being used in a medium that doesn't match the predefined variable, then the predefined variable shouldn't be present. For example, in speech media, env(safe-area-inset-top) should behave the same as env(variable-that-does-not-exist).

This probably ought to be defined where the concept of predefined variables is defined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions