Open Bug 1301879 Opened 7 years ago Updated 8 months ago

Hover styles applyed incorrectly when element has been previously hidden

Categories

(Core :: CSS Parsing and Computation, defect, P3)

51 Branch
defect

Tracking

()

People

(Reporter: tsekach, Unassigned)

Details

Attachments

(1 file)

User Agent: 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

Steps to reproduce:

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.

Test page: http://jsbin.com/rezayimawe/edit?html,css,js,output 


Actual results:

Hover styles remain applied.


Expected results:

Hover styles should not be applied
Reproducible
Version 	51.0a1
Build ID 	20160913030425
Status: UNCONFIRMED → NEW
Component: Untriaged → CSS Parsing and Computation
Ever confirmed: true
Product: Firefox → Core
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.