Don't scale fixed container adjustment in pinch virtual viewport.
In the current method of pinch-zoom, position: fixed elements stick to the visual viewport (i.e. the screen). This means when the user pinch zooms in, the viewport gets smaller so the fixed layers attached to the right and bottom need an adjustment to keep them fixed to the screen. In the new virtual viewport mode, the fixed elements stick to the layout viewport, which doesn't change under scale so we no longer need to scale this adjustment. Additionally, the adjustment that previously came from pinch zooming is not needed at all. BUG=420277 Review URL: https://codereview.chromium.org/646623003 Cr-Commit-Position: refs/heads/master@{#300625}
Showing
Please register or sign in to comment