DescriptionRecompute overflow after transform changes
This CL adds a special code path that is very similar to simplifiedLayout.
When the only change on an element is the transform, we can do the minimal
work to recompute the layout overflow without much overhead from layout.
This is done by adding an overflow recalculation phase after style changes,
if a RenderObject doesn't need layout and has moved transformed children,
the special code path will kick in.
BUG=352460
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171923
Patch Set 1 #
Total comments: 1
Patch Set 2 : a smarter version #Patch Set 3 : add early out in setStyle to avoid useless tree traversal #Patch Set 4 : rebase #Patch Set 5 : correct rebase error #Patch Set 6 : fix SVG. update TestExpectations #Patch Set 7 : tests had been missing #
Total comments: 6
Patch Set 8 : revised #Patch Set 9 : don't update frame scrollbars (makes tests to flake) #Patch Set 10 : rebase #
Total comments: 8
Created: 6 years, 8 months ago
Messages
Total messages: 17 (0 generated)
|