Closed
Bug 1504038
Opened 7 years ago
Closed 7 years ago
about:studies shows preference names and values in monospace on Linux and italics on OSX
Categories
(Firefox :: Normandy Client, defect)
Firefox
Normandy Client
Tracking
()
RESOLVED
FIXED
Firefox 65
| Tracking | Status | |
|---|---|---|
| firefox65 | --- | fixed |
People
(Reporter: mythmon, Assigned: rehandalal+mozilla, Mentored)
Details
Attachments
(3 files)
In about:studies, the list items for Preference Experiments show the preference being changed and the new value of the preference. On Linux this shows up as italic fixed width text. On OSX it shows up as italic variable with text. It looks worse in OSX, and I think fixed width is the correct choice.
| Reporter | ||
Comment 2•7 years ago
|
||
I've assigned the bug to you, thanks for the help! If you need further support, #normandy on irc.mozilla.org is a good place to find the team.
Assignee: nobody → sam
Comment 3•7 years ago
|
||
(In reply to Michael Cooper [:mythmon] from comment #0)
> On OSX it shows up as italic variable with text.
This doesn't appear to be true; on MacOS, I see fixed width text, and the CSS font declaration is `italic 1.0rem 'Fira Mono', 'mono', 'monospace'`.
| Assignee | ||
Comment 4•7 years ago
|
||
I am still seeing this issue
Any chance you could post what the computed CSS font value is? I am also seeing `italic 1.0rem 'Fira Mono', 'mono', 'monospace'`. Also what version of OSX are you on?
| Reporter | ||
Updated•7 years ago
|
Flags: needinfo?(rdalal)
| Assignee | ||
Comment 6•7 years ago
|
||
Flags: needinfo?(rdalal)
| Assignee | ||
Comment 7•7 years ago
|
||
FWIW changing from 'Fira Mono', 'mono', 'monospace' to just 'monospace' fixes the issue.
| Assignee | ||
Comment 8•7 years ago
|
||
Actually after poking around I realized this should be changed from:
font: italic 1.0rem 'Fira Mono', 'mono', 'monospace';
To:
font: italic 1.0rem 'Fira Mono', 'mono', monospace;
That fixes the issue for me.
| Assignee | ||
Comment 9•7 years ago
|
||
From https://developer.mozilla.org/en-US/docs/Web/CSS/font-family#Values:
> Generic font families are a fallback mechanism, a means of preserving some of the style sheet author's intent when none of the specified fonts are available. Generic family names are keywords and must not be quoted.
Comment 10•7 years ago
|
||
For what it's worth, both Firefox and Google Chrome deals with it the same way. https://codepen.io/peterbe/pen/NErMdQ looks identical in Nightly and Google Chrome to me on OSX.
| Assignee | ||
Comment 11•7 years ago
|
||
| Assignee | ||
Comment 12•7 years ago
|
||
Taking this bug since I've already submitted a patch.
Assignee: sam → rdalal
| Assignee | ||
Updated•7 years ago
|
Keywords: good-first-bug → checkin-needed
Comment 13•7 years ago
|
||
Pushed by nerli@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/68faf9528d57
Fix preference name styling on OS X on about:studies r=mythmon,Gijs
Keywords: checkin-needed
Comment 14•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in
before you can comment on or make changes to this bug.
Description
•