Re: [csswg-drafts] [css-values-4] Add vhc value (#4329)

Curious if folks here think there's room for a max complimentary unit, since `vhc` is a lot like a min/safe viewport unit? A unit for the safe viewport, the ~viewport, and a max viewport. This could help answer what is "fullscreen" vs "filling the viewport", which I believe is part of what this unit seeks to remedy.

`fullscreen (aka viewport including OS chrome/insets/cutouts/etc)` > `viewport` > `viewport excluding chrome`
👇 
`vhmax` > `vh` > `vhmin`

On desktops `vh`, `vhmin`/`vhc` likely resolve to the same value, but on mobile, they offer an escape or more precise intent. A `vhmax` unit though might/should report different on desktop vs mobile, as the maximum viewport potential isnt the same as the root viewport. DOM, games, etc could prepare views for fullscreen with this unit, as opposed to preparing for full viewport. 

Thoughts?

-- 
GitHub Notification of comment by argyleink
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4329#issuecomment-702324823 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 1 October 2020 18:40:16 UTC