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

Right. The reason I have a preference for the "all-layout" (aka 
inert-visual-viewport) model is lots of existing content (particularly
 on desktop pages) isn't written to expect or tested with pinch-zoom. 
So making everything relative to the visual viewport has more risk of 
effects misbehaving or performing poorly as we zoom in (or show the on
 screen keyboard). Using "all-layout", existing content won't know 
when it's been zoomed or when the OSK shows. The API @RByers 
referenced allows the rare cases that do want to respond to these 
events to do so. That said, I don't have any real world examples of 
content misbehaving (since our current model isn't "all-visual") so 
this is largely theoretical.

I agree though that interop is our most important goal so I'm open to 
either solution.

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

Received on Monday, 23 January 2017 17:50:45 UTC