Closed Bug 1689044 Opened 3 years ago Closed 3 years ago

non-native theme disabled buttons are wider than non-disabled ones

Categories

(Core :: Widget, defect)

defect

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

()

Details

Attachments

(2 files)

No description provided.

This is not particularly efficient, and our non-native theme has
different paddings by default which causes test failures.

We could fix this with a bunch of other media queries, but it doesn't
seem worth it, other browsers don't do this, and we were already working
around it on mac anyways.

Quick testcase (which I confirmed reproduces the issue for me in current Nightly, when I have widget.disable-native-theme-for-content set to true:

data:text/html,<button>a</button><br><button disabled>a

This is the color that buttons have already, so this is just redundant.

Attachment #9199660 - Attachment description: Bug 1689044 - Remove redundant background-color: ButtonFace. r=dholbert → Bug 1689044 - Remove redundant background-color: ButtonFace for buttons from forms.css. r=dholbert
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8a6bb25198c6
Stop messing with button padding on :hover:active buttons by default. r=dholbert
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e3e7553bff14
Remove redundant background-color: ButtonFace for buttons from forms.css. r=dholbert
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
QA Whiteboard: [qa-87b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: