Closed Bug 858764 Opened 12 years ago Closed 5 years ago

The source editor should maybe not specify fixed px font sizes

Categories

(DevTools :: Source Editor, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: vporof, Unassigned)

References

Details

Attachments

(1 file)

Attached image screenshot (deleted) —
Because fonts end up looking very disproportional to across operating systems relative to other elements. I mean, just look at the screenshot :) It's pretty hideous. Nothing else in the UI specifies font sizes (afaik not even percentages, so that's the default system font size in that particular case).
Blocks: 858765
I believe this is a duplicate of bug 760825.
Priority: -- → P3
Product: Firefox → DevTools

The debugger has been re-written since this bug was filed, and I believe this bug was fixed.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME

I'll add that a lot of the issues we've seen with font sizes where Firefox on Linux picking up the OS's default font-size (values like 14.5px or 16px), while on Windows and macOS we usually pick up a default font-size of 11px.

We've fixed most of those issues around October 2018 I believe (by explicitly declaring that we want font-size: 11px).

We can still run into this issue when using the font shorthand like:

font: menu; /* resets the font-size and line-height */

So we have to declare a font-size at least in those instances:

font: menu; /* resets the font-size and line-height */
font-size: var(--theme-body-font-size);
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: