Re: [csswg-drafts] [cssom-view] No way to access the viewport size without losing precision. (#5260)

What about properties that gives the physical pixels instead?

```js
const cssWidth = window.innerPhysicalWidth / window.devicePixelRatio;
``

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


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

Received on Monday, 16 November 2020 15:19:29 UTC