Closed Bug 1851833 Opened 1 year ago Closed 1 year ago

Use chrome font sizes instead of in-content sizes

Categories

(Firefox :: Shopping, defect, P2)

defect

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: jhirsch, Assigned: niklas)

References

Details

(Whiteboard: [fidefe-shopping])

Attachments

(1 file)

This may be tricky because the sidebar with is a fixed number of pixels, but the chrome font size varies across platforms (11px on Mac, 12px on Windows, some huge number on Ubuntu).

As part of this discussion, we might want to switch the sidebar width to a value relative to the size of the font (subject to some max-width, presumably?).

Whiteboard: [fidefe-shopping]
Flags: needinfo?(julianwels)

having larger font sizes would be preferable, but it won't be a major issue for accessibility either way. Following the system/chrome sizes is an appropriate approach a11y-wise.

Priority: -- → P3

So I think the changes we talked about were the following:

  • Changing the font sizes from in-content to chrome
  • Either use font: menu or font: caption (no difference between those afaik)
  • Making the sidebar width respond to the base font-size (320px at 13px base size is 24.6153846154em — round at your discretion haha)
  • Header size does not need to be adjusted, since it's already relative :)

Smallest default font size would be Windows with 12px and the largest is Linux (Gnome) with 14.6667px, so it'd be good to check if everything looks okay with these two font sizes!

Flags: needinfo?(julianwels)
Duplicate of this bug: 1838825
Priority: P3 → P2
Assignee: nobody → nbaumgardner
Status: NEW → ASSIGNED
Blocks: 1854253
Pushed by nbaumgardner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d244d17a8e9a Use chrome font sizes for shopping sidebar. r=shopping-reviewers,desktop-theme-reviewers,kpatenio,dao
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
Regressions: 1859371
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: