DescriptionResizeSynchronously should resize the visible viewport as well.
The visible viewport is the area of the window that is visible. For example,
when the on-screen keyboard obscures part of the window we shrink the visible
viewport to allow the page to "overscroll" the obscured area into view.
When we resize the window, the visible viewport should be resized along
with it.
Also renamed ResizeSynchronously since it sets the rect, not just the size.
Same for initial_pos_.
This was breaking the
css3/viewport-percentage-lengths/viewport-percentage-lengths-resize.html
layout test upon turning on virtual-viewport.
BUG=444952
Committed: https://crrev.com/c007c3a258816c2f6f6ccf7fc808887a03b0a26d
Cr-Commit-Position: refs/heads/master@{#314282}
Patch Set 1 #
Total comments: 8
Patch Set 2 : Fixed variable names #
Messages
Total messages: 9 (2 generated)
|