Closed Bug 1689993 Opened 5 years ago Closed 5 years ago

Non-native theme form elements font size is 13px, should be 13.3333px

Categories

(Core :: Widget: Gtk, defect, P3)

Desktop
Linux
defect

Tracking

()

RESOLVED FIXED
87 Branch
Fission Milestone M7
Tracking Status
firefox85 --- disabled
firefox86 --- disabled
firefox87 --- fixed

People

(Reporter: pascalc, Assigned: emilio)

References

Details

Attachments

(1 file)

Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0 ID:20210201094443

With widget.disable-native-theme-for-content set to true, form elements such as buttons, input and select fields have a default font size of 13px on Linux.

If I activate widget.disable-native-theme-for-content on Windows, these same elements have a font size of 13.3333px. This 13.3333px size is also the default for Chromium browsers (Linux and Windows).

For consistency of Firefox across platforms and for consistency with other browsers, we should have the same default font size of 13.3333px

Flags: needinfo?(emilio)

The Windows code was going into effect even if non-native-theme was
enabled, so right now nnt does something different in windows from other
platforms.

I think we should make it match Windows, which also matches Chromium on
non-Windows platforms too.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Flags: needinfo?(emilio)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fd41d4c8c4fa Make the non-native-theme font-size adjustment be the same in all platforms. r=spohl
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/a16a70db69d7 Tweak a reftest annotation now that native and non-native theme fail similarly.
Severity: -- → S3
Fission Milestone: --- → M7
Priority: -- → P3
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/0a6d78effab1 One more fuzzy pixel in non-webrender because of the bigger font-size.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: