New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 819028 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 788690
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Mouse events triggered after layout change in iframes

Project Member Reported by rahatahmed@google.com, Mar 6 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36

Steps to reproduce the problem:
1. Put mouse over iframe
2. On an interval, cause a layout change so that an element moves back and forth between two position
3. Notice element triggers its mouseover listeners when the element moves under the mouse
4. Alt-tab away from that tab, move the mouse outside of where the iframe would be
5. Alt-tab back
6. Notice the mouseover event keeps happening at the iframe's last known mouse position

Minimal repro: https://jsfiddle.net/d3b5vu75/14/

What is the expected behavior?
The mouseover event shouldn't trigger when the mouse isn't really over the iframe.

What went wrong?
It seems this behavior was intentionally added in https://chromium.googlesource.com/chromium/src.git/+/2e27e8ef7352fa68de51b0c59257604c66b9781d

It may make sense to do this in general, but for iframes, the mouse position is "stuck" to its last known position, and can cause unexpected mouseover events to trigger.

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 64.0.3282.186  Channel: stable
OS Version: 
Flash Version:
 
Reproduces in Chrome on Mac and Linux. Doesn't reproduce in Firefox or Safari.

Comment 2 by woxxom@gmail.com, Mar 6 2018

This particular repro is fine in Chrome 65.

Reverse bisect info: 522874 (bad) - 522892 (good)
https://chromium.googlesource.com/chromium/src/+log/44a83d1d..e2feae46?pretty=fuller
Suspecting r522877 = 3759ce9f7db0a23f57ca007cf6247cead49c867c = https://crrev.com/c/814696 by dtapuska@chromium.org
"Reset the last known mouse mousing on MouseLeave"
Landed in 65.0.3289.0
Labels: Needs-Triage-M64
Cc: krajshree@chromium.org
Labels: Triaged-ET Needs-Feedback
Unable to reproduce the issue on mac 10.13.3 and ubuntu 14.04 using chrome latest stable #65.0.3325.146.

rahatahmed@ - Could you please upgrade chrome to latest stable #65.0.3325.146 and please let us know if the issue still persists or not.
The latest chrome builds can be downloaded from the below URL:
https://www.chromium.org/getting-involved/dev-channel

Thanks...!!

Mergedinto: 788690
Status: Duplicate (was: Unconfirmed)
The issue does not reproduce in latest stable, I'm glad it was fixed before I reported it. Thank you!

Sign in to add a comment