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

Re: [pointerevents] Should a captured pointer send boundary events by default?

From: Scott González via GitHub <sysbot+gh@w3.org>
Date: Tue, 31 May 2016 20:46:33 +0000
To: public-pointer-events@w3.org
Message-ID: <issue_comment.created-222815089-1464727591-sysbot+gh@w3.org>
Implementations of various approaches to the button capture use case:

* boundary events: http://jsbin.com/zegubuyabi/1/edit?js,output
* elementFromPoint: http://jsbin.com/yeyiyawici/1/edit?js,output
* bounding box: http://jsbin.com/gatenotaba/1/edit?js,output

The bounding box example doesn't work properly in Edge, 
`event.offsetX` and `event.offsetY` seem to be incorrect. I couldn't 
figure out how those values were being calculated.

GitHub Notification of comment by scottgonzalez
Please view or discuss this issue at 
using your GitHub account
Received on Tuesday, 31 May 2016 20:46:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 31 May 2016 20:46:35 UTC