Re: [csswg-drafts] [css-values-4] Should `dv*` account for `overflow: auto` scrollbars dynamically? (#10059)

Example 1: https://output.jsbin.com/liwoyix/quiet  
Example 1 with `%` instead of `dvw`/`dvh`: https://output.jsbin.com/xusahev/quiet

I tested in mobile browsers. The only difference is vertical margins. Specifically, `margin: 5dvh 5dvw` is not the same as `margin: 5% 5%`. Percentages in `margin` are always relative to the container’s width. That’s a good point.

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


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

Received on Tuesday, 19 March 2024 01:59:38 UTC