When I zoom in within my browser I would assume images would get bigger not smaller.
I believe this to be an issue within dynamic flex-based layouts and/or percentage based width on an image.
Many images are responsive and will take up whatever (typically horizontal) space is available. So by making the text larger, there's less space left for the images and they become smaller.
I don't think that makes it an anti-pattern. It's more of a quirk of how zooming is implemented in browsers.(or perhaps the feature's name is misleading).
Uncheck that in FF find it in chrome...
EDIT: Cant find same in chrome settings - but I no longer use chrome... but this setting in FF, if checked, is annoying AF.
Does anybody knows if there's an extension or something for that?
[0] https://www.w3schools.com/csSref/tryit.asp?filename=trycss_p...
as part of goog's strategy of deeply nested divs ftw in modern gmail
`document.querySelector('div[role="img"] img')` to look at it
from what I can see, the width & height in the parent div's style are changing manually every time I zoom, i.e. JS event. This is probably why it takes a second to update; css would be synchronous with the rest of the UX zooming, unless there's an animation
yuck. also impossible to right click, so no easy way to view the image in another tab