Closed Bug 1845623 Opened 2 years ago Closed 2 years ago

Consider always using non-native rendering for checkboxes and radio buttons on Windows

Categories

(Core :: Widget: Win32, task)

task

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(2 files)

Our non-native rendering is at least as good, it also fits within windows, and we fall back to it anyways when in dark mode, so we probably should just simplify this code.

Everytime I look at this code I find more stuff to remove... :)

-moz-default-appearance: groupbox is not used anywhere.

menulist-text is, but it does nothing (it only would prevent drawing a
background, but we don't specify another background anyways).

In particular, spinner buttons, checkboxes, radio buttons, and the
menulist arrow.

These are all windows-style anyways, and look better than the native
counter-parts because they support webrender, zooming and scaling, etc.

The easiest way to see some of this in action is using ./mach run -P.

Depends on D184647

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/481bfcb7b220 Remove more dead native appearance values. r=mhowell
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/6f5801ee5897 Fix windows build because of wrongly-split patch.
Keywords: leave-open
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/af33198f4756 Make some form controls always non-native on Windows. r=mhowell,desktop-theme-reviewers,dao
Keywords: leave-open
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Regressions: 1846859
Target Milestone: --- → 117 Branch
Type: defect → task
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: