DescriptionAvoid layout/full-repaint on view height change if possible
Previously we always layout/full-repaint of the whole view when the height
of the RenderView changes. In many cases this is unnecessary. Especially,
this causes unnecessary cost on Android when the top control shows or
hides.
Avoid repaint if the RenderView doesn't needs full layout.
BUG=258219
BUG=327815
(about RenderBlock::percentHeightDescendants)
TEST=WebFrameTest.heightChangeRepaint
TEST=all layout tests still pass
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164645
Patch Set 1 : #Patch Set 2 : works #Patch Set 3 : Always layout fixed positin #Patch Set 4 : Protect the feature with a runtime flag #
Total comments: 14
Patch Set 5 : quicks mode; dialogs #
Total comments: 10
Patch Set 6 : We have Document::hasViewportUnits() now #
Total comments: 2
Patch Set 7 : Avoid hang in seamless frames #Messages
Total messages: 15 (0 generated)
|