Add preferences to override system fonts
Categories
(Core :: Widget, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
Details
Attachments
(3 files)
Much like we have preferences to override ints / floats / colors here, it seems having prefs for fonts would be useful (if only for testing without having to change system settings).
Assignee | ||
Comment 1•2 years ago
|
||
And hide internal but used values. System fonts are not exposed in the
computed style so this should be fine.
If we need the old values for some obscure reason, it's trivial to alias
them to e.g., menu or so.
Assignee | ||
Comment 2•2 years ago
|
||
Now that the non-native theme is everywhere, let's do this consistently
across platforms.
Note that these fonts aren't used for XUL anyways, so this shouldn't
change behavior in practice.
Depends on D163269
Assignee | ||
Comment 3•2 years ago
|
||
Much like we allow to do so with colors and ints/floats.
Read a string pref for the font name, and a few float/bools for
size/weight/italic, which is what our LookAndFeel back-end supports.
Depends on D163270
Assignee | ||
Updated•2 years ago
|
Comment 5•2 years ago
|
||
Backed out 3 changesets (Bug 1802957) for causing mochitest failures on test_unstyled_control_height.html.
Backout link
Push with failures <--> 3
Failure Log
Assignee | ||
Updated•2 years ago
|
Comment 7•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f331a560b37c
https://hg.mozilla.org/mozilla-central/rev/5fd98b1efb0a
https://hg.mozilla.org/mozilla-central/rev/f1cdc72ea3d3
Description
•