Text on webpage doesn't respond to zoom level
Categories
(Core :: Layout, defect)
Tracking
()
| 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.
| Reporter | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
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...
| Assignee | ||
Comment 2•3 years ago
|
||
They're not font relative, so it we probably want them to be zoomed.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 4•3 years ago
|
||
| bugherder | ||
Description
•