|
Reland "Recompute 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=172833
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+257 lines, -58 lines) |
Patch |
 |
M |
LayoutTests/TestExpectations
|
View
|
1
2
3
4
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/compositing/overflow/transform-should-update-container-overflow.html
|
View
|
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/compositing/overflow/transform-should-update-container-overflow-expected.txt
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/compositing/repaint/should-not-repaint-composited-transform.html
|
View
|
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/compositing/repaint/should-not-repaint-composited-transform-expected.txt
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Document.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.h
|
View
|
1
2
4
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.cpp
|
View
|
1
2
3
4
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderBlock.h
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderBlock.cpp
|
View
|
1
2
3
4
|
1 chunk |
+85 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayerModelObject.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayerScrollableArea.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayerScrollableArea.cpp
|
View
|
1
2
3
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderObject.h
|
View
|
1
2
3
4
|
7 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderObject.cpp
|
View
|
1
2
3
4
|
5 chunks |
+39 lines, -27 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/StyleDifference.h
|
View
|
|
2 chunks |
+2 lines, -13 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|