Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(589)

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/squashing/squash-above-fixed-3-expected.txt

Issue 1951043002: Don't let PaintInvalidationLocationChange shadow other reasons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This scenario verifies that the green "container" element and lime "innerScrolli ng" element scroll properly even though there is a blue fixed-position element l ayered in between them. 1 This scenario verifies that the green "container" element and lime "innerScrolli ng" element scroll properly even though there is a blue fixed-position element l ayered in between them.
2 2
3 The catch is that the squashing requirements should be computed in correct paint order, so that the green container does not accidentally position itself with r espect to the wrong layer and not scroll. 3 The catch is that the squashing requirements should be computed in correct paint order, so that the green container does not accidentally position itself with r espect to the wrong layer and not scroll.
4 4
5 CASE 1, original layer tree: 5 CASE 1, original layer tree:
6 { 6 {
7 "bounds": [785, 4100], 7 "bounds": [785, 4100],
8 "children": [ 8 "children": [
9 { 9 {
10 "bounds": [785, 4100], 10 "bounds": [785, 4100],
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 }, 105 },
106 { 106 {
107 "position": [100, 100], 107 "position": [100, 100],
108 "bounds": [200, 4000], 108 "bounds": [200, 4000],
109 "drawsContent": true, 109 "drawsContent": true,
110 "backgroundColor": "#008000", 110 "backgroundColor": "#008000",
111 "paintInvalidations": [ 111 "paintInvalidations": [
112 { 112 {
113 "object": "LayoutBlockFlow (positioned) DIV id='innerScrolling'", 113 "object": "LayoutBlockFlow (positioned) DIV id='innerScrolling'",
114 "rect": [100, 0, 100, 100], 114 "rect": [100, 0, 100, 100],
115 "reason": "location change" 115 "reason": "compositing update"
116 } 116 }
117 ], 117 ],
118 "children": [ 118 "children": [
119 { 119 {
120 "position": [0, 160], 120 "position": [0, 160],
121 "bounds": [200, 100], 121 "bounds": [200, 100],
122 "contentsOpaque": true, 122 "contentsOpaque": true,
123 "drawsContent": true, 123 "drawsContent": true,
124 "backgroundColor": "#0000FF" 124 "backgroundColor": "#0000FF"
125 } 125 }
126 ] 126 ]
127 } 127 }
128 ] 128 ]
129 } 129 }
130 ] 130 ]
131 } 131 }
132 132
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698