Re: [css-houdini-drafts] [css-paint-api] Specify explicitly that PaintSize.{width, height} may be fractional

Also, an un-rounded width and height plus devicePixelRatio and specifying the top-left
of the painting canvas to be positioned at the device pixel location of the top-left of where
the element will actually be drawn to the screen, allows the developer, if they wish, to do pixel-perfect painting.

This is why it's important for width and height to be doubles.

-- 
GitHub Notification of comment by chrishtr
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/479#issuecomment-336670847 using your GitHub account

Received on Saturday, 14 October 2017 22:08:41 UTC