[csswg-drafts] [css-env-1] list of predefined variables

rebeccahughes has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-env-1] list of predefined variables ==
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 <length> from the top of the viewport to the title-safe content area.
safe-area-inset-right: Inset, as a <length> from the right of the viewport to the title-safe content area.
safe-area-inset-left: Inset, as a <length> from the left of the viewport to the title-safe content area.
safe-area-inset-bottom: Inset, as a <length> 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

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2630 using your GitHub account

Received on Monday, 30 April 2018 18:19:33 UTC