Open Bug 792587 Opened 13 years ago Updated 3 years ago

PositionedEventTargeting.isElementClickable needs a way to ignore body listeners

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect

Tracking

()

People

(Reporter: wesj, Unassigned)

Details

On Fennec we had some special code to prevent isElementClickable from returning true on some elements (notably the body element, Bug 743279) [1]. We then used isElementClickable to determine whether or not to fire haptic feedback on a click. Having the flag let us prevent haptic feedback on every tap for pages that have body "click" event listeners (fairly common). I'd like to move that haptic feedback code into platform (bug 791831) so that we don't have duplication of this isClickable method, but we'll need some way to recreate that ability. [1] http://hg.mozilla.org/mozilla-central/annotate/0c8ac138706e/mobile/android/chrome/content/browser.js#l3931
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.