Changes between Version 6 and Version 7 of ViewportInteractionTopics

Dec 7, 2012 1:27:35 PM (10 years ago)



  • ViewportInteractionTopics

    v6 v7  
    1313 * Content should not be rendered or updated if the page is not visible (ie. in background).
    1414 * Animations such as animated GIFs should not start animating until they are exposed in the viewport.
     15 * Orientation change: When changing orientation, position should be kept and the scale should adapt to the width-change. ie. if aspect ratio is 1.5 the scale would be divided or multiplied by this value. As the @viewport and viewport meta can restrict this scale change, or fix it to say 1.0, the original content might not fix the whole view. Common solutions is to show checkerboard on the non covered area from portrait->landscape, and center content the other way around. When keyboard is up (editing mode) orientation changes often keep a specific scale (also bounded by @viewport etc.) Common value is 200% aka 2.0.
     16 * Keyboard: When keyboard is up, scale to 200% (bounded) and center the editiable area in the view, given the caret position. The content can still be panned and pinched, but each orientation change recenters the position and scale.
     17 * When keyboard is up it should be possible to pan content further. ie it should be possible to see the lower part of the page. Closing the keyboard should move the content back so browser background is ever seen.