Open Bug 358750 Opened 19 years ago Updated 3 years ago

autorepeatbutton seem always clickable even when disabled

Categories

(Toolkit :: UI Widgets, defect)

x86
All
defect

Tracking

()

People

(Reporter: glazou, Unassigned)

References

()

Details

Attachments

(1 file)

even if an autorepeatbutton is disabled, its styles change when the mouse pointer hovers over it. In the attached URL, the rule autorepeatbutton:hover, autorepeatbutton:hover:active { margin : 1px; border : 1px inset ThreeDFace; padding-top: 2px; padding-bottom: 1px; -moz-padding-start: 2px; -moz-padding-end: 1px; } should be autorepeatbutton:not([disabled]):hover, autorepeatbutton:not([disabled]):hover:active { margin : 1px; border : 1px inset ThreeDFace; padding-top: 2px; padding-bottom: 1px; -moz-padding-start: 2px; -moz-padding-end: 1px; }
Attached patch fix #1Splinter Review
Assignee: nobody → daniel
Status: NEW → ASSIGNED
Attachment #244087 - Flags: first-review?(gavin.sharp)
Comment on attachment 244087 [details] [diff] [review] fix #1 >Index: scrollbox.css >-autorepeatbutton:hover, >-autorepeatbutton:hover:active >+autorepeatbutton:not([disabled]):hover, >+autorepeatbutton:not([disabled]):hover:active Use :not([disabled="true"]) instead to match the other similar rules in the file. r=me with that.
Attachment #244087 - Flags: first-review?(gavin.sharp) → first-review+

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: daniel → nobody
Status: ASSIGNED → NEW
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: