Description[repaint-after-layout] Skip full repaint if the style difference is layout.
Currently in RenderBox::styleWillChange we will issue a view()->repaint() if the
node is the HTML or body element and the diff >= StyleDifferenceRepaint. For
repaint-after-layout, if this is StyleDifferenceLayout, we will do the layout
and end up issuing the same invalidation again.
This CL makes the view()->repaint() call conditional on either
1) repaint-after-layout is disabled
2) this is not a StyleDifferenceLayout.
BUG=320139
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169984
Patch Set 1 #
Messages
Total messages: 14 (0 generated)
|