Re: [csswg-drafts] [css-values-4] Add vvh+vvw values (#6113)

If my understanding of what layout viewport (= visual viewport 100% zoom) and initial containing block is correct, pinch zooming does nothing user visible to `vvw` and `vvh` affected elements. That means they cannot be affected by zoomed in or zooming out.
I don't understand or grasp the spec details of how you believe the element would shrink towards the top left corner.

About browser zooming, specially how it's done in mobile browsers, everything seemed fine until I gave a quick prototype (js-made) to my grandpa and could notice that the expectation of the user really is a zoom on everything in the page and just text increasing or incorporated elements increasing (with text size change) but not their container simulated sized with `vvh`.

I may end up changing the name to `lvh` `lvw`. We'll see...

What I will write will hopefully not make any difference for websites with: `<meta name="viewport" content="width=device-width">`
However, I do want to cater for websites that allow pinch zooming so that the results are the way the user would expect, so I'll update above.
Thanks for the heads up


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


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

Received on Sunday, 21 March 2021 09:48:45 UTC