Closed Bug 1401240 Opened 7 years ago Closed 3 years ago

CSS :active state does not cancel when dragging an image away

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 379272
Tracking Status
firefox-esr52 --- ?
firefox55 --- affected
firefox56 --- affected
firefox57 --- affected

People

(Reporter: timdream, Unassigned)

References

()

Details

Attachments

(1 file)

STR:

1. Open the test data URL
2. Press down on the mozilla logo. text should turn red
3. Drag the Mozilla logo away from it's original position
4. Release the mouse button

Expected:

1. Text should turn back to black.

Actual:

1. Text stay at red (the :active style continue to apply)
I can confirm this does not happen on Firefox 55.
(In reply to Tim Guan-tin Chien [:timdream] (please needinfo) from comment #1)
> I can confirm this does not happen on Firefox 55.

Tested on FF55 with a clean profile and found the same result(no back to black) as with following versions of FF.
It seems the same on Safari and Chrome. Tim, could you confirm again?
Priority: P1 → P3
It does not happen on Chrome.

Also, it would happen to anything draggable, not just images. I can reproduce this by dragging a link.
(In reply to Astley Chen [:astley] (UTC+8) from comment #2)
> (In reply to Tim Guan-tin Chien [:timdream] (please needinfo) from comment
> #1)
> > I can confirm this does not happen on Firefox 55.
> 
> Tested on FF55 with a clean profile and found the same result(no back to
> black) as with following versions of FF.
> It seems the same on Safari and Chrome. Tim, could you confirm again?

I am sorry, I was wrong. This happens on Fx55 as well. I still wonder if this is a regression though.
I am not sure this is a regression because I tested this issue with the following test data URL https://www.w3schools.com/code/tryit.asp?filename=FJW8SJADA8UV and it is reproducible on older Nightly versions, such as 8.0a1 (2011-08-01).
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: