W3C home > Mailing lists > Public > public-pointer-events@w3.org > January to March 2013

RE: Hit-testing for pointer events

From: Jacob Rossi <Jacob.Rossi@microsoft.com>
Date: Fri, 29 Mar 2013 20:28:48 +0000
To: Daniel Freedman <dfreedm@google.com>, Wes Johnston <wjohnston@mozilla.com>
CC: "public-pointer-events@w3.org" <public-pointer-events@w3.org>
Message-ID: <e5c36a82366f4c3dbbd820e6ed2867eb@BN1PR03MB021.namprd03.prod.outlook.com>
On Fri, Mar 29, 2013 at 1:07 PM, Daniel Freedman <dfreedm@google.com> wrote:
> In my mind, determining the event target by touch (whether by fuzzing or whatever) feels like a platform dependent operation.
> Therefore I think this probably should not be dictated by the PointerEvent spec.

I agree. In addition, this technology is explicitly out of scope for this working group. [1]
"Input targeting methods and disambiguation. The algorithms and underlying systems used to determine target elements and pointer location."

[1] http://www.w3.org/2012/pointerevents/charter/#scope 

> On Fri, Mar 29, 2013 at 12:56 AM, Wes Johnston <wjohnston@mozilla.com> wrote:
>> I was glancing at the specification tonight and ran across a section detailing touch-action:
>> "When a user touches an element, the effect of that touch is determined by the value of the touch-action property and the default touch behaviors on the element and its ancestors. To determine the effect of a touch, find the nearest ancestor (starting from the element itself) that has a default touch behavior."
>> I'm curious what exactly the specification means by "touches an element" or "nearest ancestor", especially given touch events may occur over a area rather than only occurring at a single point. Is it worth specifying a behavior for finding elements near a touch (either within the touch radius or using a fuzzy constant around the center of the touch point)?
Received on Friday, 29 March 2013 20:30:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:20:24 UTC