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

>>  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