Closed Bug 941712 Opened 6 years ago Closed 6 years ago

Event fluffing can hit offscreen targets


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

Not set



1.3 Sprint 6 - 12/6
blocking-b2g 1.3+


(Reporter: daleharvey, Assigned: daleharvey)



(Whiteboard: [systemsfe] ) suggests that our event fluffing code doesnt take into account whether the element is on screen or not (event fluffing requires layers so display: none'd elements shouldnt be possible), it may alternatively be a transform issue
Component: DOM: Events → Event Handling
Blocks: 937744
blocking-b2g: --- → koi?
blocking-b2g: koi? → koi+
Vivien, can you take this?  If not, is there someone else you'd suggest?
Flags: needinfo?(21)
I can probably have a shot at this
Assignee: nobody → dale
Whiteboard: [systemsfe]
Target Milestone: --- → 1.3 Sprint 6 - 12/6
Since dale is looking at it I don't think I have anything to do here :)
Flags: needinfo?(21)
This is being moved to 1.3, as bug 944347 is going to disable event fluffing for 1.2.
blocking-b2g: koi+ → 1.3+
Not particularly easy to diagnose, experiment on desktop with position: absolute and css translations do the right thing, thinking that the disregarding of invisible frames is happening in

Given that this was hard to reproduce in the case of the browser, it may be something else, if there was a single hitable pixel that overlapped the visible border then it would still be easy to hit consistently with fluffing

Trying to drill down from the browser failing case right now
So I have tried to reproduce and (requires commenting out on a peak on both master and 1.2 and I can no longer reproduce either of those bugs.

The event fluffing code looks to correctly disregard hidden elements, right now I am stuck on this bug, will needinfo jason to see if theres any way to drill down STR to device / branch
Flags: needinfo?(jsmith)
Keywords: qawanted
Whiteboard: [systemsfe] → [systemsfe]
I'll have someone look at this today to see if they can still reproduce bug 937744.
Flags: needinfo?(jsmith)
QA Contact: sarsenyev
This bug is very similar to
However as per comment 7, I cannot reproduce the issue on 1.3 master and 1.2 builds, cannot open apps with swiping empty homescreen sheet or hit offscreen targets

Device: Buri 1.2 COM RIL
BuildID: 20131204004003
Gaia: 8d762f3376318fd6be390432db750ae4904c9ab6
Gecko: 758f3fb32dda
Version: 26.0
RIL version:
Firmware version: v1.2_20131115

Device: Buri 1.3 master
BuildID: 20131204115608
Gaia: 324c467fc6b202fd09efe4b16cd83960fd2901eb
Gecko: 526e12792fc8
Version: 28.0a1
Firmware version: v1.2_20131115
Keywords: qawanted
I have not been able to reproduce it neither. Maybe with other steps to reproduce...
Ok, is identical to and noone has been able to reproduce after this fix, so will close as a dupe

I will test with the gaia fix reverted and if I cant reproduce then I will close this one as misdiagnosed
ok, tested and havent been able to reproduce
Closed: 6 years ago
Resolution: --- → WORKSFORME
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.