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

Re: options for eliminating hit-tests for touch pointermove by default

From: Scott González <scott.gonzalez@gmail.com>
Date: Wed, 25 Mar 2015 15:46:24 -0400
Message-ID: <CAO8i3icbLJQFas-rhq9q2KdGZ4WZ_Ww_E3g8JSKy86851e5OZQ@mail.gmail.com>
To: Daniel Freedman <dfreedm@google.com>
Cc: Jacob Rossi <Jacob.Rossi@microsoft.com>, Rick Byers <rbyers@chromium.org>, "public-pointer-events@w3.org" <public-pointer-events@w3.org>
On Wed, Mar 25, 2015 at 3:31 PM, Daniel Freedman <dfreedm@google.com> wrote:

> If it is simpler, perhaps there can be a "global opt-in" for a page to
> have implicit capturing enabled?
> Something like PointerEvents.setImplicitCapture(), which implicitly calls
> setPointerCapture and dispatches a `gotpointercapture` event on every new
> `pointerdown`.
>

The tricky part about global opt-in is that it means no library can ever
assume one model or the other and must always be explicit anyway. And of
course any library which isn't explicit may break on a site that changes
the global behavior.

Assuming we don't come across common scenarios that break with implicit
capture, we may just expect libraries to eventually assume implicit capture
and explicitly code for the cases where they don't want that. This is
similar to libraries needing to adapt to `* { box-sizing: border-box }`
being used on more and more sites.
Received on Wednesday, 25 March 2015 19:46:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 25 March 2015 19:46:52 UTC