DescriptionDon'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
Committed: https://crrev.com/8273d966fa2217069d9d73fd58591a644be71843
Cr-Commit-Position: refs/heads/master@{#300625}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Added test #
Messages
Total messages: 11 (4 generated)
|