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

Re: [csswg-drafts] [css-values] Ability to address actual physical size

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Thu, 20 Oct 2016 04:23:16 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-255005750-1476937395-sysbot+gh@w3.org>
Right. Matching the size of a physical object seems valid in theory if
 there are relevant use cases, and correctly sizing touch targets 
seems like one.

As such, a `tip` unit might be reasonable, especially if we let the UA
 define how big that should be. A stylus touch device could for 
instance have a smaller `tip` than a finger touch device.

On the other hand, the difference between finger and stylus may be 
something we leave up to media queries (pointer:coarse vs 
pointer:fine), and for the rest maybe we can just deal with this with 
existing units: the distance range in which touch UIs can be used is 
necessarily limited by human anatomy, and something like `60px` = 
`0.625in` ≈ `1.6cm` seems to me like it would be appropriate for a 
finger touch target both on arm's length devices (touch-screen 
laptops), where it would have approximately that size in terms of 
physical measurements, as well as for folded-arm's length devices 
(phone/tablet), where it would be about half that in physical terms. 
And since arms length manipulation tend to be a little less precise 
(arm movement vs finger movement), the difference in scale might 
actually be a good thing.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/614#issuecomment-255005750 
using your GitHub account
Received on Thursday, 20 October 2016 04:23:23 UTC

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