DescriptionUpdate parent layout when child frame requests innerHeight/innerWidth.
The child frame dimensions may depend on the parent frame's layout. So
we need to update the parent frame's layout when the child asks for
innerHeight or innerWidth.
Without this patch, the test case incorrectly returns 0 for the
innerHeight/innerWidth queriers prior to the forced layout.
BUG=258175
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154292
Patch Set 1 #
Total comments: 2
Patch Set 2 : Move layout to SubframeLoader::loadSubframe #Patch Set 3 : Inline script-test #Patch Set 4 : Only force layout in innerWidth/innerHeight #
Total comments: 1
Messages
Total messages: 18 (0 generated)
|