DescriptionUse expected main frame size from WebViewImpl when creating a new FrameView.
The main frame's size is no longer simply the viewport size. Instead,
WebViewImpl sizes it after layout to be the either the content width with
a height matching the viewport aspect ratio, or the viewport at minimum page
scale. This fixes a bug where the innerWidth/innerHeight values would be
wrong during an onload event if the onload would happen before the content was
properly sized.
BUG=431097, 428722
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185145
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185321
Patch Set 1 #Patch Set 2 : Created WebViewImpl::mainFrameSize #Patch Set 3 : Added test #Patch Set 4 : Fixed crash occuring in OOPI tests #Patch Set 5 : Rebase #Patch Set 6 : Fixing build break from bad rebase #
Messages
Total messages: 20 (5 generated)
|