Hacker News new | ask | show | jobs
by unvs 1265 days ago
I just want either a zoom constant so we can know how much the browser is zoomed in or out, or a scaling type size unit that will take zoom into account. In the former case we could set font size as vw multiplied with the zoom factor.
1 comments

> I just want either a zoom constant so we can know how much the browser is zoomed in or out

So that zooming in on websites has unexpected side effects like some elements ignoring the zoom and staying the same size?

When users zoom they want everything to maintain the same proportions but be larger on their display, but web developers in their infinite wisdom want to do clever stuff when a user zooms so that isn't their experience.

What is a non-abusive use case for this?

Actually being able to zoom in font size when vw or vh is used. So it’s to help maintaining what the user wants while being able to scale font sizes with viewport size.
rem scales with zoom