W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2021

[csswg-drafts] [css-values-4] Restrictions on UA-default viewport units (unprefixed v*) (#6454)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Thu, 15 Jul 2021 01:40:28 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-944918400-1626313227-sysbot+gh@w3.org>
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values-4] Restrictions on UA-default viewport units (unprefixed v*) ==
In https://github.com/w3c/csswg-drafts/issues/4329 we added three sets of more explicit viewport units--the small, large, and dynamic viewport units `sv*`, `lv*`, and `dv*`--and left the unprefixed viewport units to be UA-defined.

The current wording of the spec is:

> The UA-default viewport-percentage units (v*) are defined with respect to a UA-defined UA-default viewport size, which for any given document should be equivalent to the large viewport size, small viewport size, or some intermediary size.

Are there any other restrictions we should be adding to the UA's choices here (besides svh <= vh <= lvh)?

For example, the sv* and lv* units are explicitly not dynamic (this is their whole purpose). Should v* be likewise restricted to a non-dynamic interpretation, so that components using them are not resized as one scrolls?

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 15 July 2021 01:40:30 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:39 UTC