W3C home > Mailing lists > Public > www-archive@w3.org > May 2014

Re: apparent acc bug in firefox

From: Daniel Freedman <dfreedm@google.com>
Date: Sat, 10 May 2014 10:30:28 -0700
Message-ID: <CAAUAVAjnufhTdnANjgy=g=MWOzzzVCYeN1-DY8HKF3Qof76Ldw@mail.gmail.com>
To: www-archive@w3.org
Hi Marco,

I'm one of the Polymer developers that Steve has been communicating with.
The issue it seems then is that Polymer is exposing these mouse handlers on
unexpected elements due to an interaction with the ShadowDOM polyfill and
Polymer's gesture system.

I implemented the gesture system to be a bit naive and add event listeners
in ShadowRoots to catch mouse events before they lose target information.
However, the ShadowDOM Polyfill has to add these listeners on the host
element, which will make that show up as "clickable" according to Firefox's
I'll have to add more cooperation hooks into Polymer to keep track of
elements that are explicitly interested in gestures to work around this

TL;DR: Polymer's gesture library is setting up listeners naively for a
gesture system, and we (Polymer) should make that smarter.
Received on Saturday, 10 May 2014 17:31:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:44:30 UTC