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

Re: [csswg-drafts] [css-values] Ability to address actual physical size (#614)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Tue, 15 Oct 2019 16:19:54 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-542293838-1571156393-sysbot+gh@w3.org>
> If we could set physical sizes, we would have less need to compromise the user experience.

When screens use the hardware pixel as their reference, they have to choose their px size to *approximate* that of the "physical" px, 1/96 of an inch. As such, they'll only be off from true by *at worst* 1/3. (If the screen is 144dpi, you either use 1 pixel = 1px and are 2/3 the size you should be, or use 2 pixel = 1px and are 3/2 larger than you should be. This is the absolute worst dpi possible for this purpose; everything else gives you a closer match.)

Assuming screens could reliably get their true physical size, how much would doing an exact physical size help you vs an approximate physical size that has this as its maximum error?

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/614#issuecomment-542293838 using your GitHub account
Received on Tuesday, 15 October 2019 16:19:56 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:54 UTC