|
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=171923
Total comments: 1
Total comments: 6
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+248 lines, -49 lines) |
Patch |
 |
M |
LayoutTests/TestExpectations
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/compositing/overflow/transform-should-update-container-overflow.html
|
View
|
1
4
5
6
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/compositing/overflow/transform-should-update-container-overflow-expected.txt
|
View
|
1
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/compositing/repaint/should-not-repaint-composited-transform.html
|
View
|
1
4
5
6
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/compositing/repaint/should-not-repaint-composited-transform-expected.txt
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Document.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/FrameView.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+12 lines, -0 lines |
2 comments
|
Download
|
 |
M |
Source/core/rendering/RenderBlock.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderBlock.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+87 lines, -0 lines |
2 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayerModelObject.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayerScrollableArea.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayerScrollableArea.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderObject.h
|
View
|
1
2
3
4
5
6
7
8
9
|
7 chunks |
+13 lines, -13 lines |
2 comments
|
Download
|
 |
M |
Source/core/rendering/RenderObject.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+33 lines, -27 lines |
2 comments
|
Download
|
 |
M |
Source/core/rendering/style/RenderStyleConstants.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
Total messages: 17 (0 generated)
|