Closed Bug 1032754 Opened 10 years ago Closed 10 years ago

use the generic font-family:sans-serif in Gaia CSS rather than explicitly naming "Fira Sans"

Categories

(Firefox OS Graveyard :: Gaia, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.1 fixed)

RESOLVED FIXED
2.0 S5 (4july)
Tracking Status
b2g-v2.1 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

Details

Attachments

(1 file)

In a few places, Gaia CSS currently has

  font-family: 'Fira Sans', sans-serif;

This is unnecessary, as sans-serif will resolve to Fira Sans on FirefoxOS anyhow; and until bug 987872, it was wrong anyhow, as the family name was "Fira Sans OT", so plain "Fira Sans" would not be found.

We should simply use font-family:sans-serif, and rely on the system's preference settings to resolve this to the proper sans-serif font family.
Comment on attachment 8448646 [details] [review]
[PR] remove explicit use of 'Fira Sans' in favor of generic sans-serif

Thanks!
Attachment #8448646 - Flags: review?(timdream) → review+
Assignee: nobody → jfkthame
Keywords: checkin-needed
No longer blocks: 1032874
Hi Jonathan, do need a try run for that, if so could you provide a try link, thanks ? (also note the travis build failed it seems https://travis-ci.org/mozilla-b2g/gaia/builds/28859150)
Keywords: checkin-needed
(In reply to Carsten Book [:Tomcat] from comment #3)
> Hi Jonathan, do need a try run for that, if so could you provide a try link,
> thanks ? (also note the travis build failed it seems
> https://travis-ci.org/mozilla-b2g/gaia/builds/28859150)

I don't see any plausible reason this would cause failures, but I tried pushing a try job just in case:
https://tbpl.mozilla.org/?tree=Try&rev=de4211226187

(Hope I did that right; I'm not really familiar with testing Gaia stuff.)
Keywords: checkin-needed
Needs rebasing before it can be merged.
Keywords: checkin-needed
Rebased PR to upstream/master.
Keywords: checkin-needed
Master: https://github.com/mozilla-b2g/gaia/commit/30bf079c895fe59a1af06494423ac0709e5b90c5
Status: NEW → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S5 (4july)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: