Re: [csswg-drafts] [cssom-view] layout viewport vs visual viewport

I see.  I think the point still holds though, instead of using media 
queries plenty of sites listen to the resize event, measure the 
(layout) viewport, and update their layout in some manner in script.  
If their measurements return the visual viewport they'll do something 
incorrect.  E.g. I believe Facebook does this when applying their 
tinyViewport/canHaveFixedElements class to the document.

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

Received on Tuesday, 24 January 2017 19:54:57 UTC