W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2016

Re: [csswg-drafts] [css-device-adapt] @viewport is preloader-hostile

From: Peter-Paul Koch via GitHub <sysbot+gh@w3.org>
Date: Fri, 09 Sep 2016 11:12:38 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-245885432-1473419555-sysbot+gh@w3.org>
I have a test case for some zooming errors:



1) Click the upper two test links without zooming in. Browsers display
 correct behaviour: the layout viewport is changed as you would expect
 and the visual viewport changes with it.

2) Reload page, zoom in on the test links, and then click them. 
Although the layout viewport changes, the visual viewport may not 
change with it. All in all I would say that when the layout viewport 
size is changed, the visual viewport should zoom out to cover the 
entire layout viewport. This does not happen in most browsers, but 
they display various sorts of behaviour. 
- Safari/iOS doesn't change the visual viewport at all
- Chrome 52 and Samsung Internet 4.0 do something funky with, I think,
 displaying the same percentage of the layout viewport as before.
- BlackBerry 10 and Edge zoom out, as desired.

I don't have the time right now to do a full browser test, but I would
 suggest that this area, too, is in need of standardisation, and that 
the standard behaviour should be that the visual viewport zooms out to
 the layout viewport size if the layout viewport size is changed.

GitHub Notification of comment by pp-koch
Please view or discuss this issue at 
using your GitHub account
Received on Friday, 9 September 2016 11:12:45 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:03 UTC