Closed Bug 605242 Opened 15 years ago Closed 15 years ago

No :active state for <button>

Categories

(Core :: Layout: Form Controls, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
blocking2.0 --- betaN+

People

(Reporter: jruderman, Assigned: smaug)

References

Details

(Keywords: regression, testcase)

Attachments

(3 files)

Attached file testcase
1. Click button. Expected: Turn blue while the mouse button is down, so I can tell I clicked it. Result: No visual change. Regression from the recent focus changes, perhaps? (Bug 418521, bug 564277)
blocking2.0: --- → ?
Unlikely, as this bug doesn't look focus related. And I don't see the bug in a build from October 13, so this is a recent regression. Bug 582771 is more likely. The only Mac bug that might be related is bug 587418.
OS: Mac OS X → All
Summary: No :active state for <button> on Mac?? → No :active state for <button>
Looking.
Assignee: nobody → Olli.Pettay
Attached patch patchSplinter Review
This should do it, but I don't really like the API anymore. But perhaps I could make a better API in a followup? And ofc, this needs tests!
Attachment #484105 - Flags: review?(enndeakin)
Comment on attachment 484105 [details] [diff] [review] patch Looks ok, but it might be more readable to just pass the prescontext to SetGlobalActiveContent and have the ugly-looking cast for the ESM only once inside. Or maybe even make SetGlobalActiveContent non-static.
Attachment #484105 - Flags: review?(enndeakin) → review+
I'll file a followup to handle the globalness of ESM inside ESM, well if that is easily doable. But that might be post FF4 work.
blocking2.0: ? → betaN+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Depends on: 606034
I had to backout part of the patch to fix the regression http://hg.mozilla.org/mozilla-central/rev/d5623a818b55 I'll investigate the reason for the regression.
This bug (:active state for button) should be still fixed though.
This bug causes the following regression, See; https://bugzilla.mozilla.org/show_bug.cgi?id=603550#c21
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: