Re: [csswg-drafts] [css-values-4] viewport units vs initial containing block (#6453)

Notes from talking to @bokand about this some time last week

Visualisation:

- ICB = `html { height: 100%; width: 100%; }`
- LVP = `#fixed { position: absolute; height: 100%; width: 100%; }`

The units can be derived as such:

- `svh` unit = height of ICB
- `lvh` unit = height of ICB + height of extra bars (top/bottom bar)
- `vh` unit = free for interpretation as per spec, yet all browsers seem to have settled on setting it equal to `lvh`


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


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

Received on Tuesday, 21 June 2022 09:00:01 UTC