W3C home > Mailing lists > Public > public-pointer-events@w3.org > April to June 2016

Re: [pointerevents] Default width/height attribute for mouse

From: Patrick H. Lauke via GitHub <sysbot+gh@w3.org>
Date: Thu, 12 May 2016 21:15:18 +0000
To: public-pointer-events@w3.org
Message-ID: <issue_comment.created-218888078-1463087717-sysbot+gh@w3.org>
i would say no. for mouse the browser DOES know that it's 1x1 pixels, 
and is free to report it having `width` and `height` of 1 if it so 
desires. my concern, however, is that if we define the 
default/fallback in general (for all pointer types) as 1, then in 
situations where i as an author receive a touch pointer with reported 
1x1, how can i be sure if it's just the browser falling back to 
default because the hardware/OS didn't actually report the true touch 
geometry, or if it's a super-fine-control touchpoint (like one of 
those "dumb" styluses which simply act as a capacitive surface/really 
thin finger)?

As an aside, note how on the Nokia Lumia 520 / Windows 10 Mobile / 
Edge, `width`/`height` are reported as 0 

GitHub Notification of comment by patrickhlauke
Please view or discuss this issue at 
using your GitHub account
Received on Thursday, 12 May 2016 21:15:20 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 12 May 2016 21:15:20 UTC