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

I have a test case for some zooming errors:

http://www.quirksmode.org/m/tests/metadynamic.html

Steps:

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 
https://github.com/w3c/csswg-drafts/issues/258#issuecomment-245885432 
using your GitHub account

Received on Friday, 9 September 2016 11:12:45 UTC