Re: [csswg-drafts] [cssom-view] visual viewport sometimes reportedly cannot fully scale out to layout viewport (#9118)

This happens due to the UI scaling factor (i.e. the screen density) of the device. I believe the layout is sized to the nearest physical pixel which doesn't fall on a whole CSS pixel. We could do some rounding/ceil/min but that would likely cause other issues. Do you see consistent values from `documentElement.getBoundingClientRects`?

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


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

Received on Wednesday, 26 July 2023 15:31:29 UTC