Re: [csswg-drafts] [cssom-view] Should CSS pixels * devicePixelRatio match OS pixels or screen pixels? (#6314)

I second this.
My use case is that we render interactive content to a full page canvas with WebGL. In this case the size of the canvas is super important. Set it too small and it looks bad, but set it too big and the framerate suffers.
Being able to set it to the exact pixel density the screen uses would be very valuable.
This also makes it possible to render pixel perfect images to the screen, rather than having downscaling filters applied to the canvas.

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


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

Received on Saturday, 5 June 2021 17:38:17 UTC