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

Re: Hit-testing for pointer events

From: Daniel Freedman <dfreedm@google.com>
Date: Fri, 29 Mar 2013 13:07:00 -0700
Message-ID: <CAAUAVAh8m_98g_okA-5chBRg0PTp6=y8t=h5KKOtSuBy-+ZzQA@mail.gmail.com>
To: Wes Johnston <wjohnston@mozilla.com>
Cc: "public-pointer-events@w3.org" <public-pointer-events@w3.org>
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

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:07:49 UTC

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