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

Side by Side Diff: third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/caret-contenteditable-content-after-expected.txt

Issue 2665823002: Invalidate caret during paint invalidation (Closed)
Patch Set: Rebaseline Created 3 years, 10 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 { 1 {
2 "layers": [ 2 "layers": [
3 { 3 {
4 "name": "LayoutView #document", 4 "name": "LayoutView #document",
5 "bounds": [800, 600], 5 "bounds": [800, 600],
6 "contentsOpaque": true, 6 "contentsOpaque": true,
7 "drawsContent": true, 7 "drawsContent": true,
8 "paintInvalidations": [ 8 "paintInvalidations": [
9 { 9 {
10 "object": "LayoutBlockFlow DIV id='editor'", 10 "object": "LayoutBlockFlow DIV id='editor'",
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 }, 63 },
64 { 64 {
65 "object": "LayoutText #text", 65 "object": "LayoutText #text",
66 "rect": [8, 48, 7, 19], 66 "rect": [8, 48, 7, 19],
67 "reason": "layoutObject insertion" 67 "reason": "layoutObject insertion"
68 }, 68 },
69 { 69 {
70 "object": "LayoutTextFragment (anonymous)", 70 "object": "LayoutTextFragment (anonymous)",
71 "rect": [8, 48, 7, 19], 71 "rect": [8, 48, 7, 19],
72 "reason": "forced by layout" 72 "reason": "forced by layout"
73 },
chrishtr 2017/01/31 22:51:03 Shouldn't there be at least one new invalidation t
Xianzhu 2017/02/02 23:42:06 Now we skip caret rect invalidation if its contain
74 {
75 "object": "LayoutBlockFlow DIV id='editor'",
76 "rect": [7, 47, 3, 22],
77 "reason": "invalidate paint rectangle"
78 },
79 {
80 "object": "LayoutBlockFlow DIV id='editor'",
81 "rect": [7, 47, 3, 22],
82 "reason": "invalidate paint rectangle"
83 },
84 {
85 "object": "LayoutBlockFlow DIV id='editor'",
86 "rect": [7, 47, 3, 22],
87 "reason": "invalidate paint rectangle"
88 },
89 {
90 "object": "LayoutBlockFlow DIV id='editor'",
91 "rect": [7, 47, 3, 22],
92 "reason": "invalidate paint rectangle"
93 },
94 {
95 "object": "LayoutText #text",
96 "rect": [29, 47, 3, 21],
97 "reason": "invalidate paint rectangle"
98 },
99 {
100 "object": "LayoutText #text",
101 "rect": [29, 47, 3, 21],
102 "reason": "invalidate paint rectangle"
103 },
104 {
105 "object": "LayoutText #text",
106 "rect": [29, 47, 3, 21],
107 "reason": "invalidate paint rectangle"
108 },
109 {
110 "object": "LayoutText #text",
111 "rect": [22, 47, 3, 21],
112 "reason": "invalidate paint rectangle"
113 },
114 {
115 "object": "LayoutText #text",
116 "rect": [22, 47, 3, 21],
117 "reason": "invalidate paint rectangle"
118 },
119 {
120 "object": "LayoutText #text",
121 "rect": [22, 47, 3, 21],
122 "reason": "invalidate paint rectangle"
123 },
124 {
125 "object": "LayoutText #text",
126 "rect": [22, 47, 3, 21],
127 "reason": "invalidate paint rectangle"
128 },
129 {
130 "object": "LayoutText #text",
131 "rect": [14, 47, 3, 21],
132 "reason": "invalidate paint rectangle"
133 },
134 {
135 "object": "LayoutText #text",
136 "rect": [14, 47, 3, 21],
137 "reason": "invalidate paint rectangle"
138 },
139 {
140 "object": "LayoutText #text",
141 "rect": [14, 47, 3, 21],
142 "reason": "invalidate paint rectangle"
143 },
144 {
145 "object": "LayoutText #text",
146 "rect": [14, 47, 3, 21],
147 "reason": "invalidate paint rectangle"
148 } 73 }
149 ] 74 ]
150 } 75 }
151 ], 76 ],
152 "objectPaintInvalidations": [ 77 "objectPaintInvalidations": [
153 { 78 {
154 "object": "Caret",
155 "reason": "invalidate paint rectangle"
156 },
157 {
158 "object": "LayoutBlockFlow DIV id='editor'", 79 "object": "LayoutBlockFlow DIV id='editor'",
159 "reason": "style change" 80 "reason": "style change"
160 }, 81 },
161 { 82 {
162 "object": "RootInlineBox", 83 "object": "RootInlineBox",
163 "reason": "style change" 84 "reason": "style change"
164 }, 85 },
165 { 86 {
166 "object": "Caret", 87 "object": "Caret",
167 "reason": "invalidate paint rectangle" 88 "reason": "caret"
168 }, 89 },
169 { 90 {
170 "object": "Caret", 91 "object": "Caret",
171 "reason": "invalidate paint rectangle" 92 "reason": "caret"
172 },
173 {
174 "object": "Caret",
175 "reason": "invalidate paint rectangle"
176 },
177 {
178 "object": "Caret",
179 "reason": "invalidate paint rectangle"
180 }, 93 },
181 { 94 {
182 "object": "LayoutBlockFlow DIV id='editor'", 95 "object": "LayoutBlockFlow DIV id='editor'",
183 "reason": "forced by layout" 96 "reason": "forced by layout"
184 }, 97 },
185 { 98 {
186 "object": "RootInlineBox", 99 "object": "RootInlineBox",
187 "reason": "forced by layout" 100 "reason": "forced by layout"
188 }, 101 },
189 { 102 {
190 "object": "Caret", 103 "object": "Caret",
191 "reason": "invalidate paint rectangle" 104 "reason": "caret"
192 }, 105 },
193 { 106 {
194 "object": "Caret", 107 "object": "Caret",
195 "reason": "invalidate paint rectangle" 108 "reason": "caret"
196 }, 109 },
197 { 110 {
198 "object": "LayoutText #text", 111 "object": "LayoutText #text",
199 "reason": "layoutObject insertion" 112 "reason": "layoutObject insertion"
200 }, 113 },
201 { 114 {
202 "object": "InlineTextBox 'a'", 115 "object": "InlineTextBox 'a'",
203 "reason": "layoutObject insertion" 116 "reason": "layoutObject insertion"
204 }, 117 },
205 { 118 {
206 "object": "LayoutTextFragment (anonymous)", 119 "object": "LayoutTextFragment (anonymous)",
207 "reason": "forced by layout" 120 "reason": "forced by layout"
208 }, 121 },
209 { 122 {
210 "object": "InlineTextBox 'x'", 123 "object": "InlineTextBox 'x'",
211 "reason": "forced by layout" 124 "reason": "forced by layout"
212 }, 125 },
213 { 126 {
214 "object": "Caret",
215 "reason": "invalidate paint rectangle"
216 },
217 {
218 "object": "Caret",
219 "reason": "invalidate paint rectangle"
220 },
221 {
222 "object": "LayoutBlockFlow DIV id='editor'", 127 "object": "LayoutBlockFlow DIV id='editor'",
223 "reason": "forced by layout" 128 "reason": "forced by layout"
224 }, 129 },
225 { 130 {
226 "object": "RootInlineBox", 131 "object": "RootInlineBox",
227 "reason": "forced by layout" 132 "reason": "forced by layout"
228 }, 133 },
229 { 134 {
230 "object": "Caret", 135 "object": "Caret",
231 "reason": "invalidate paint rectangle" 136 "reason": "caret"
232 }, 137 },
233 { 138 {
234 "object": "Caret", 139 "object": "Caret",
235 "reason": "invalidate paint rectangle" 140 "reason": "caret"
236 }, 141 },
237 { 142 {
238 "object": "LayoutText #text", 143 "object": "LayoutText #text",
239 "reason": "full" 144 "reason": "full"
240 }, 145 },
241 { 146 {
242 "object": "InlineTextBox 'ab'", 147 "object": "InlineTextBox 'ab'",
243 "reason": "full" 148 "reason": "full"
244 }, 149 },
245 { 150 {
246 "object": "LayoutTextFragment (anonymous)", 151 "object": "LayoutTextFragment (anonymous)",
247 "reason": "forced by layout" 152 "reason": "forced by layout"
248 }, 153 },
249 { 154 {
250 "object": "InlineTextBox 'x'", 155 "object": "InlineTextBox 'x'",
251 "reason": "forced by layout" 156 "reason": "forced by layout"
252 }, 157 },
253 { 158 {
254 "object": "Caret",
255 "reason": "invalidate paint rectangle"
256 },
257 {
258 "object": "Caret",
259 "reason": "invalidate paint rectangle"
260 },
261 {
262 "object": "LayoutBlockFlow DIV id='editor'", 159 "object": "LayoutBlockFlow DIV id='editor'",
263 "reason": "forced by layout" 160 "reason": "forced by layout"
264 }, 161 },
265 { 162 {
266 "object": "RootInlineBox", 163 "object": "RootInlineBox",
267 "reason": "forced by layout" 164 "reason": "forced by layout"
268 }, 165 },
269 { 166 {
270 "object": "Caret", 167 "object": "Caret",
271 "reason": "invalidate paint rectangle" 168 "reason": "caret"
272 }, 169 },
273 { 170 {
274 "object": "Caret", 171 "object": "Caret",
275 "reason": "invalidate paint rectangle" 172 "reason": "caret"
276 }, 173 },
277 { 174 {
278 "object": "LayoutText #text", 175 "object": "LayoutText #text",
279 "reason": "full" 176 "reason": "full"
280 }, 177 },
281 { 178 {
282 "object": "InlineTextBox 'abc'", 179 "object": "InlineTextBox 'abc'",
283 "reason": "full" 180 "reason": "full"
284 }, 181 },
285 { 182 {
286 "object": "LayoutTextFragment (anonymous)", 183 "object": "LayoutTextFragment (anonymous)",
287 "reason": "forced by layout" 184 "reason": "forced by layout"
288 }, 185 },
289 { 186 {
290 "object": "InlineTextBox 'x'", 187 "object": "InlineTextBox 'x'",
291 "reason": "forced by layout" 188 "reason": "forced by layout"
292 } 189 }
293 ] 190 ]
294 } 191 }
295 192
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698