Re: [csswg-drafts] [cssom-view] Visual viewport's scale factor in iframe (#8434)

FWIW - this was an intentional choice, there's some discussion of it in the original [WICG draft spec](https://wicg.github.io/visual-viewport/index.html#the-visualviewport-interface). Conceptually, each frame has its own visual viewport which describes how its document is scaled and presented. It happens that most (all?) browsers don't allow scaling subframes individually but the model in the spec is that a visual viewport is tied to an individual document.

Even seemingly minor leaks across origins can be used as a side channel so I'm not sure this would be safe.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 9 February 2023 15:01:29 UTC