Skip to content

[css-env-1] list of predefined variables #2630

@ghost

Description

This is a follow up to https://drafts.csswg.org/css-env-1/#issue-2732e813

So far we have the safe area variables:

safe-area-inset-top: Inset, as a from the top of the viewport to the title-safe content area.
safe-area-inset-right: Inset, as a from the right of the viewport to the title-safe content area.
safe-area-inset-left: Inset, as a from the left of the viewport to the title-safe content area.
safe-area-inset-bottom: Inset, as a from the bottom of the viewport to the title-safe content area.

Also Safari Tech Preview 52 has shipped both fullscreen-inset-top and fullscreen-auto-hide-delay but there is no documentation.

issues/1693 mentions the following too but afaik these haven't shipped anywhere:

user-font-size: User's requested font size
user-background-color: User's requested background color
user-foreground-color: User's requested foreground color

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