W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2019

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

From: Christoph Päper via GitHub <sysbot+gh@w3.org>
Date: Sat, 09 Mar 2019 13:49:07 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-471178612-1552139346-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:57 UTC