DescriptionMake logical height calculations on RenderView use unscaled FrameRect
RenderBox's methods for computing logical height would use
frameView()->visibleWidth() and visibleHeight() once they
reach the RenderView. These methods return the frame's
dimensions divided by the content scale factor (i.e. pinch-zoom).
This was causing problems in the linked bug since the method
would remove scrollbars before applying scale, causing the removed
scrollbar area to scale with the page. This CL changes the
occurances of visibleWidth/Height to unscaledVisibleContentSize().
BUG=362337
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180471
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : Added test #
Total comments: 10
Patch Set 4 : Fixed up test #
Messages
Total messages: 9 (0 generated)
|