Re: [csswg-drafts] [cssom-view] Add pageZoomFactor to window interface (#3538)

> nope, we currently have decided to counteract. The reason is we render boxes which should be closable and there can be cases when box in user zoomed page can grow too big and hide close button. Also we do not want our boxes to be rendered too small. The solution is to detect browser zoom and apply correction to our boxes keeping them visually constant, desired size.

How is a large zoom different from user changing their window to a smaller size that your box would simply overflow? As I mentioned above, I believe sites should just be responsive to the viewport size, regardless of it being from zooming or window resizing. Am I missing something?

> I do not try to rely on zoom property, but to render content in iframe i _must_ apply the equal zoom into iframe content. Otherwise main page content and iframe content are zoomed diferently.
> 
> Correct, browser zooming is like matrix transform, everything is scaled. But CSS zoom acts only for current window context.

So why do you use `zoom` at the first place?

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3538#issuecomment-460557131 using your GitHub account

Received on Tuesday, 5 February 2019 08:48:17 UTC