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

[pointerevents] Default width/height attribute for mouse

From: Navid Zolghadr via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 May 2016 18:27:02 +0000
To: public-pointer-events@w3.org
Message-ID: <issues.opened-154310422-1462991221-sysbot+gh@w3.org>
NavidZ has just created a new issue for 
https://github.com/w3c/pointerevents:

== Default width/height attribute for mouse ==
Spec is sort of silence about the default value of width and height 
property of devices that are not reporting the actual geometry of the 
pointer particularly mouse.

"The width (magnitude on the X axis), in CSS pixels (see [CSS21]), of 
the contact geometry of the pointer. This value may be updated on each
 event for a given pointer. For devices which have a contact geometry 
but the actual geometry is not reported by the hardware, a default 
value should be provided by the user agent to approximate the geometry
 typical of that pointer type. Otherwise, the value must be 0."

Edge reports width=height=1 for mouse or the normal pen. In our 
current Chrome implementation we  report 0. I wanted to match the 
behavior of Edge but I thought If we are matching the behavior in this
 level is it worth it to maybe add a note of some sort to also mention
 this in the spec or not. WDYT?

Please view or discuss this issue at 
https://github.com/w3c/pointerevents/issues/65 using your GitHub 
account
Received on Wednesday, 11 May 2016 18:27:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 May 2016 18:27:04 UTC