|
Adding or changing any of box-shadow, outline, or border-image-outset does not need a layout..
.. so just require a paint invalidation and ensure visual overflow gets recomputed.
There is an optimization that throttles paint invalidations on an element when
the children have just been laid out - now that we avoid this layout we want
to continue throttling these repaints. I will address this in a follow-up.
BUG= 396825
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183698
Total comments: 1
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+218 lines, -27 lines) |
Patch |
 |
M |
LayoutTests/TestExpectations
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/layout/border-image-outset-no-relayout.html
|
View
|
1
2
3
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/layout/border-image-outset-no-relayout-expected.txt
|
View
|
1
2
3
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/layout/outline-no-relayout.html
|
View
|
1
2
3
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/layout/outline-no-relayout-expected.txt
|
View
|
1
2
3
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/layout/shadow-box-no-relayout.html
|
View
|
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/layout/shadow-box-no-relayout-expected.txt
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/repaint/border-image-outset-add-repaint.html
|
View
|
1
2
3
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/repaint/border-image-outset-add-repaint-expected.txt
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/repaint/border-image-outset-change-repaint.html
|
View
|
1
2
3
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/repaint/border-image-outset-change-repaint-expected.txt
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/repaint/box-shadow-add-repaint.html
|
View
|
1
2
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/repaint/box-shadow-add-repaint-expected.txt
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/repaint/box-shadow-change-repaint.html
|
View
|
1
2
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/repaint/box-shadow-change-repaint-expected.txt
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/repaint/outline-add-repaint.html
|
View
|
1
2
3
4
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/repaint/outline-add-repaint-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/repaint/outline-change-repaint.html
|
View
|
1
2
3
4
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/repaint/outline-change-repaint-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/repaint/outline-change-invalidation-expected.txt
|
View
|
1
2
3
4
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/svg/repaint/add-outline-property-on-root-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/svg/repaint/remove-outline-property-on-root-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderObject.cpp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/BorderData.h
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/RenderStyle.cpp
|
View
|
1
2
3
4
|
5 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/StyleDifference.h
|
View
|
1
2
3
|
3 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
Total messages: 8 (3 generated)
|