Closed Bug 1773484 Opened 3 years ago Closed 3 years ago

Text on webpage doesn't respond to zoom level

Categories

(Core :: Layout, defect)

x86_64
Linux
defect

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: gcp, Assigned: emilio)

Details

Attachments

(1 file)

https://www.eureferendum.com/blogview.php?blogno=77807

Using zoom in the browser doesn't change the size of the text at all. Manually editing the text size in the Developer Tools does work.

Summary: Unzoomable text on webpage page → Text on webpage doesn't respond to zoom level

They are using font-size: 1vw, which does depend on the viewport size. Since zooming shrinks the viewport, it does change how 1vw behaves, making the font smaller at bigger zoom levels.

This is kind of unfortunate, but there's not all that much we can do to avoid it. Changing how viewport units resolve in presence of zoom would break actual good use cases for viewport units.

Other browsers seem to behave the same way here, too. However, maybe we should zoom text-only viewport-relative font sizes... Right now we don't but...

They're not font relative, so it we probably want them to be zoomed.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Severity: -- → S3
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/397776200856 Make viewport-relative units zoomable via "zoom text only". r=boris
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: