W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2018

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

From: Becca Hughes via GitHub <sysbot+gh@w3.org>
Date: Mon, 30 Apr 2018 18:19:29 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-318985626-1525112368-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:29 UTC