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

Issue 645754 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Sep 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug

Blocking:
issue 488886



Sign in to add a comment

Hover style not cleared after applying display: none style

Reported by tsek...@gmail.com, Sep 10 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.101 Safari/537.36

Example URL:
http://jsbin.com/rezayimawe/edit?html,css,js,output

Steps to reproduce the problem:
If you hide an element with display: none, while the element is hovered, the hover styles remain applied when the element is displayed again later.

What is the expected behavior?
Hover styles should not be applied

What went wrong?
Hover styles remain applied.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? No Firefox, Safari

Chrome version: 53.0.2785.101  Channel: stable
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 22.0 r0
 
jsbin.rezayimawe.5.html
1.9 KB View Download

Comment 1 by kochi@chromium.org, Sep 12 2016

Components: -Blink Blink>Input
Status: Untriaged (was: Unconfirmed)
I'm wondering if this is the same issue as  issue 450631 .
Routing to Blink>Input for triage.

Labels: Needs-Bisect
Cc: msrchandra@chromium.org
Labels: -Needs-Bisect Needs-Feedback OS-Linux OS-Windows
@tsekach -- Able to reproduce the issue on Chrome Stable# 53.0.2785.116 on Windows, Mac and Linux.

Just to update, the same behavior is seen on Firefox and Safari.
Could you please update the issue by verifying on other browsers.
Thank You.

Comment 4 by bokan@chromium.org, Sep 15 2016

Labels: -OS-Linux -OS-Windows -Pri-2 -Needs-Feedback -OS-Mac Poachable Hotlist-Input-Dev Hotlist-GoodFirstBug OS-All Pri-3
Status: Available (was: Untriaged)
Summary: Hover style not cleared after applying display: none style (was: Hover styles applyed incorrectly when element has been previously hidden)
This does feel like a bug, Edge seems to do it as expected.

Comment 5 by tsek...@gmail.com, Sep 15 2016

The issue is reproducible on Firefox (https://bugzilla.mozilla.org/show_bug.cgi?id=1301879) and Safari on Mac Os. IE is not tested.

Comment 6 by mustaq@chromium.org, May 29 2017

Blocking: 488886
Cc: mustaq@chromium.org dtapu...@chromium.org lanwei@chromium.org
This clearly needs a hittesting, not sure if we do now. I confirmed that we don't send a synthetic mousemove in this case, perhaps we should?

This is related to Lan's mouse hover cleanup.
Status: Fixed (was: Available)

Sign in to add a comment