Re: [csswg-drafts] [css-values] Proposal for add a devcie pixel unit (#3715)

> Maybe we could introduce (via `calc()`?) some function that rounds a length to a physical number of pixels, to try and do some kind of pixel snapping

I have proposed such a function in #2513, but for it to work with device pixels, they would need a dedicated unit in the first place, `dot` or `d` as established by `dpi` and `dpcm`. 

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

Received on Saturday, 9 March 2019 13:49:08 UTC