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: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Mon, 14 Oct 2019 02:02:25 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-541482882-1571018544-sysbot+gh@w3.org>
>>  For the use case of touch targets, what is wrong with using something like
> Probably the fact that cm, mm etc are anchored on the ideal CSS pixel, rather than on an actual physical size

I know the styles I provided wouldn't actually result in accurate physical centimeters. That wasn't the point of it. However, for the purpose of providing touch targets, would they actually fail to work? Within the range of devices you actually want to use touch for, it seems to me that the variation would fall within the acceptable range (possibly starting from something else than 1cm, if you think that's overall too small), and even be correlated with slightly smaller targets hand hand-held devices vs slightly larger targets on arms-length devices, which seems like a good thing, since arms-length manipulation is less precise.

Sure, `1cm` would actually look like 15 actual centimeters on a wall projector, and like 1 actual millimeter on VR-glasses, but you're not using touch on these, so for the purpose of this use case, that's irrelevant.

GitHub Notification of comment by frivoal
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/614#issuecomment-541482882 using your GitHub account
Received on Monday, 14 October 2019 02:02:26 UTC

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