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

The first question would be, why should content be aware of zoom level? I think content are supposed to be responsive to just the viewport, and the viewport changes based on the zoom level.

Ideally I hope content would never be able to be aware of zoom level. In Gecko, both `window.outerWidth` and `window.innerWidth` are based on the zoomed coordinate space. I would argue that we should change `event.screen{X,Y}` the same way, but that could be tricky.

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

Received on Tuesday, 22 January 2019 11:02:53 UTC