Pseudo-class :active not removed when mouse is dragged out and then released

NEW
Unassigned

Status

()

Core
General
4 years ago
4 years ago

People

(Reporter: Roman, Unassigned)

Tracking

(Depends on: 1 bug)

Trunk
x86_64
Windows 7
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
As reported here: http://stackoverflow.com/questions/12417727/pseudo-class-active-not-working-correctly-in-firefox

JsFiddle reproducing the issue: http://jsfiddle.net/BMHUz/123/

Steps:
* Hold the mouse down over the "testing" text
* Drag it away
* Release

Expected:
* link turns yellow on mouse-down, green on mouse-up

Actual:
* link turns yellow on mouse-down, then remains yellow on mouse-up

Note: this might be a Windows-specific issue; Boris Zbarsky reports that this works on Mac.

Comment 1

4 years ago
This sounds like a duplicate of bug 851103.
(Reporter)

Comment 2

4 years ago
It sounds like it's very similar, yes. Not sure if the same fix will fix both though; this one works on any element that has an :active style.

Updated

4 years ago
Depends on: 851103
You need to log in before you can comment on or make changes to this bug.