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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/dom-snapshot/dom-snapshot-getSnapshot-expected.txt

Issue 2947303002: [DevTools] Migrate inspector-protocol/{page,dom-snapshot} tests to new harness (Closed)
Patch Set: rebased Created 3 years, 5 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 Some Text 1 Tests DOMSnapshot.getSnapshot method.
2 And More Text
3 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sit amet e st sem. Aenean ut neque volutpat, posuere odio at, mollis nibh. Aenean sodales n ulla et ligula efficitur sollicitudin blandit sed lectus. Duis orci enim, sodale s ac lectus sed, hendrerit efficitur est. Quisque gravida facilisis viverra.
4
5 Lets have a span
6 Rotated text!
7
8 { 2 {
9 "domNodes": [ 3 "domNodes": [
10 { 4 {
11 "nodeType": 9, 5 "nodeType": 9,
12 "nodeName": "#document", 6 "nodeName": "#document",
13 "nodeValue": "", 7 "nodeValue": "",
14 "backendNodeId": 2, 8 "backendNodeId": "<number>",
15 "childNodeIndexes": [ 9 "childNodeIndexes": [
16 1 10 1
17 ], 11 ],
18 "layoutNodeIndex": 0, 12 "layoutNodeIndex": 0,
19 "documentURL": "<string>", 13 "documentURL": "<string>",
20 "baseURL": "<string>" 14 "baseURL": "<string>"
21 }, 15 },
22 { 16 {
23 "nodeType": 1, 17 "nodeType": 1,
24 "nodeName": "HTML", 18 "nodeName": "HTML",
25 "nodeValue": "", 19 "nodeValue": "",
26 "backendNodeId": 3, 20 "backendNodeId": "<number>",
27 "childNodeIndexes": [ 21 "childNodeIndexes": [
28 2, 22 2,
29 13, 23 8,
30 14 24 9
31 ], 25 ],
32 "layoutNodeIndex": 1, 26 "layoutNodeIndex": 1,
33 "frameId": "<string>" 27 "frameId": "<string>"
34 }, 28 },
35 { 29 {
36 "nodeType": 1, 30 "nodeType": 1,
37 "nodeName": "HEAD", 31 "nodeName": "HEAD",
38 "nodeValue": "", 32 "nodeValue": "",
39 "backendNodeId": 4, 33 "backendNodeId": "<number>",
40 "childNodeIndexes": [ 34 "childNodeIndexes": [
41 3, 35 3,
42 4, 36 4,
43 6, 37 6,
44 7, 38 7
45 8,
46 9,
47 11,
48 12
49 ] 39 ]
50 }, 40 },
51 { 41 {
52 "nodeType": 3, 42 "nodeType": 3,
53 "nodeName": "#text", 43 "nodeName": "#text",
54 "nodeValue": "\n", 44 "nodeValue": "\n ",
55 "backendNodeId": 5 45 "backendNodeId": "<number>"
56 }, 46 },
57 { 47 {
58 "nodeType": 1, 48 "nodeType": 1,
59 "nodeName": "STYLE", 49 "nodeName": "STYLE",
60 "nodeValue": "", 50 "nodeValue": "",
61 "backendNodeId": 6, 51 "backendNodeId": "<number>",
62 "childNodeIndexes": [ 52 "childNodeIndexes": [
63 5 53 5
64 ] 54 ]
65 }, 55 },
66 { 56 {
67 "nodeType": 3, 57 "nodeType": 3,
68 "nodeName": "#text", 58 "nodeName": "#text",
69 "nodeValue": "\n@font-face {\n font-family: 'ahem';\n src: url(../../res ources/Ahem.ttf);\n}\n", 59 "nodeValue": "\n @font-face {\n font-family: 'ahem';\n src: u rl(../../resources/Ahem.ttf);\n }\n ",
70 "backendNodeId": 7 60 "backendNodeId": "<number>"
61 },
62 {
63 "nodeType": 3,
64 "nodeName": "#text",
65 "nodeValue": "\n ",
66 "backendNodeId": "<number>"
71 }, 67 },
72 { 68 {
73 "nodeType": 3, 69 "nodeType": 3,
74 "nodeName": "#text", 70 "nodeName": "#text",
75 "nodeValue": "\n", 71 "nodeValue": "\n",
76 "backendNodeId": 8 72 "backendNodeId": "<number>"
77 },
78 {
79 "nodeType": 1,
80 "nodeName": "SCRIPT",
81 "nodeValue": "",
82 "backendNodeId": 9,
83 "attributes": [
84 {
85 "name": "type",
86 "value": "text/javascript"
87 },
88 {
89 "name": "src",
90 "value": "../../http/tests/inspector-protocol/resources/inspector-prot ocol-test.js"
91 }
92 ]
93 }, 73 },
94 { 74 {
95 "nodeType": 3, 75 "nodeType": 3,
96 "nodeName": "#text", 76 "nodeName": "#text",
97 "nodeValue": "\n", 77 "nodeValue": "\n",
98 "backendNodeId": 10 78 "backendNodeId": "<number>"
99 },
100 {
101 "nodeType": 1,
102 "nodeName": "SCRIPT",
103 "nodeValue": "",
104 "backendNodeId": 11,
105 "childNodeIndexes": [
106 10
107 ]
108 },
109 {
110 "nodeType": 3,
111 "nodeName": "#text",
112 "nodeValue": "\n\nasync function test() {\n function stabilize(key, val ue) {\n var unstableKeys = [\"documentURL\", \"baseURL\", \"frameId\"];\n if (unstableKeys.indexOf(key) !== -1)\n return \"<\" + typeof (value) + \">\";\n return value;\n }\n \n var whitelist = [\"trans form\", \"transform-origin\", \"height\", \"width\", \"display\", \"outline-colo r\", \"color\"];\n var response = await InspectorTest.sendCommandOrDie(\"DOMS napshot.getSnapshot\", {\"computedStyleWhitelist\": whitelist});\n InspectorT est.log(JSON.stringify(response, stabilize, 2));\n InspectorTest.completeTest ();\n}\n\n",
113 "backendNodeId": 12
114 },
115 {
116 "nodeType": 3,
117 "nodeName": "#text",
118 "nodeValue": "\n",
119 "backendNodeId": 13
120 },
121 {
122 "nodeType": 3,
123 "nodeName": "#text",
124 "nodeValue": "\n",
125 "backendNodeId": 14
126 },
127 {
128 "nodeType": 3,
129 "nodeName": "#text",
130 "nodeValue": "\n",
131 "backendNodeId": 15
132 }, 79 },
133 { 80 {
134 "nodeType": 1, 81 "nodeType": 1,
135 "nodeName": "BODY", 82 "nodeName": "BODY",
136 "nodeValue": "", 83 "nodeValue": "",
137 "backendNodeId": 16, 84 "backendNodeId": "<number>",
138 "childNodeIndexes": [ 85 "childNodeIndexes": [
139 15, 86 10,
140 16, 87 11,
141 66 88 58
142 ], 89 ],
143 "attributes": [ 90 "attributes": [
144 { 91 {
145 "name": "class", 92 "name": "class",
146 "value": "body-class" 93 "value": "body-class"
147 } 94 }
148 ], 95 ],
149 "layoutNodeIndex": 2 96 "layoutNodeIndex": 2
150 }, 97 },
151 { 98 {
152 "nodeType": 3, 99 "nodeType": 3,
153 "nodeName": "#text", 100 "nodeName": "#text",
154 "nodeValue": "\n", 101 "nodeValue": "\n",
155 "backendNodeId": 17 102 "backendNodeId": "<number>"
156 }, 103 },
157 { 104 {
158 "nodeType": 1, 105 "nodeType": 1,
159 "nodeName": "DIV", 106 "nodeName": "DIV",
160 "nodeValue": "", 107 "nodeValue": "",
161 "backendNodeId": 18, 108 "backendNodeId": "<number>",
162 "childNodeIndexes": [ 109 "childNodeIndexes": [
163 17, 110 12,
164 18, 111 13,
165 20, 112 15,
166 21, 113 16,
167 34, 114 29,
168 35, 115 30,
169 37, 116 32,
170 38, 117 33,
171 52, 118 47,
172 53, 119 48,
173 62, 120 57
174 63,
175 65
176 ], 121 ],
177 "attributes": [ 122 "attributes": [
178 { 123 {
179 "name": "style", 124 "name": "style",
180 "value": "font-family: ahem;" 125 "value": "font-family: ahem;"
181 } 126 }
182 ], 127 ],
183 "layoutNodeIndex": 3 128 "layoutNodeIndex": 3
184 }, 129 },
185 { 130 {
186 "nodeType": 3, 131 "nodeType": 3,
187 "nodeName": "#text", 132 "nodeName": "#text",
188 "nodeValue": "\n ", 133 "nodeValue": "\n ",
189 "backendNodeId": 19 134 "backendNodeId": "<number>"
190 }, 135 },
191 { 136 {
192 "nodeType": 1, 137 "nodeType": 1,
193 "nodeName": "DIV", 138 "nodeName": "DIV",
194 "nodeValue": "", 139 "nodeValue": "",
195 "backendNodeId": 20, 140 "backendNodeId": "<number>",
196 "childNodeIndexes": [ 141 "childNodeIndexes": [
197 19 142 14
198 ], 143 ],
199 "attributes": [ 144 "attributes": [
200 { 145 {
201 "name": "class", 146 "name": "class",
202 "value": "class1" 147 "value": "class1"
203 } 148 }
204 ], 149 ],
205 "layoutNodeIndex": 4 150 "layoutNodeIndex": 4
206 }, 151 },
207 { 152 {
208 "nodeType": 3, 153 "nodeType": 3,
209 "nodeName": "#text", 154 "nodeName": "#text",
210 "nodeValue": "Some Text", 155 "nodeValue": "Some Text",
211 "backendNodeId": 21, 156 "backendNodeId": "<number>",
212 "layoutNodeIndex": 5 157 "layoutNodeIndex": 5
213 }, 158 },
214 { 159 {
215 "nodeType": 3, 160 "nodeType": 3,
216 "nodeName": "#text", 161 "nodeName": "#text",
217 "nodeValue": " And More Text\n ", 162 "nodeValue": " And More Text\n ",
218 "backendNodeId": 22, 163 "backendNodeId": "<number>",
219 "layoutNodeIndex": 6 164 "layoutNodeIndex": 6
220 }, 165 },
221 { 166 {
222 "nodeType": 1, 167 "nodeType": 1,
223 "nodeName": "DIV", 168 "nodeName": "DIV",
224 "nodeValue": "", 169 "nodeValue": "",
225 "backendNodeId": 23, 170 "backendNodeId": "<number>",
226 "childNodeIndexes": [ 171 "childNodeIndexes": [
227 22, 172 17,
228 23, 173 18,
229 25, 174 20,
230 26, 175 21,
231 33 176 28
232 ], 177 ],
233 "attributes": [ 178 "attributes": [
234 { 179 {
235 "name": "style", 180 "name": "style",
236 "value": "display:inline-block; width: 200px" 181 "value": "display:inline-block; width: 200px"
237 } 182 }
238 ], 183 ],
239 "layoutNodeIndex": 7 184 "layoutNodeIndex": 7
240 }, 185 },
241 { 186 {
242 "nodeType": 3, 187 "nodeType": 3,
243 "nodeName": "#text", 188 "nodeName": "#text",
244 "nodeValue": "\n ", 189 "nodeValue": "\n ",
245 "backendNodeId": 24 190 "backendNodeId": "<number>"
246 }, 191 },
247 { 192 {
248 "nodeType": 1, 193 "nodeType": 1,
249 "nodeName": "P", 194 "nodeName": "P",
250 "nodeValue": "", 195 "nodeValue": "",
251 "backendNodeId": 25, 196 "backendNodeId": "<number>",
252 "childNodeIndexes": [ 197 "childNodeIndexes": [
253 24 198 19
254 ], 199 ],
255 "layoutNodeIndex": 8 200 "layoutNodeIndex": 8
256 }, 201 },
257 { 202 {
258 "nodeType": 3, 203 "nodeType": 3,
259 "nodeName": "#text", 204 "nodeName": "#text",
260 "nodeValue": "\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sit amet est sem.\n Aenean ut neque volutpat, posuere odio at, mollis nibh. Aenean sodales nulla et\n ligula efficitur sollici tudin blandit sed lectus. Duis orci enim, sodales ac lectus sed,\n hendre rit efficitur est. Quisque gravida facilisis viverra.\n ", 205 "nodeValue": "\n Lorem ipsum dolor sit amet, consectetur adipiscing e lit. Pellentesque sit amet est sem.\n Aenean ut neque volutpat, posuere odi o at, mollis nibh. Aenean sodales nulla et\n ligula efficitur sollicitudin blandit sed lectus. Duis orci enim, sodales ac lectus sed,\n hendrerit effi citur est. Quisque gravida facilisis viverra.\n ",
261 "backendNodeId": 26, 206 "backendNodeId": "<number>",
262 "layoutNodeIndex": 9 207 "layoutNodeIndex": 9
263 }, 208 },
264 { 209 {
265 "nodeType": 3, 210 "nodeType": 3,
266 "nodeName": "#text", 211 "nodeName": "#text",
267 "nodeValue": "\n ", 212 "nodeValue": "\n ",
268 "backendNodeId": 27 213 "backendNodeId": "<number>"
269 }, 214 },
270 { 215 {
271 "nodeType": 1, 216 "nodeType": 1,
272 "nodeName": "UL", 217 "nodeName": "UL",
273 "nodeValue": "", 218 "nodeValue": "",
274 "backendNodeId": 28, 219 "backendNodeId": "<number>",
275 "childNodeIndexes": [ 220 "childNodeIndexes": [
276 27, 221 22,
277 28, 222 23,
278 29, 223 24,
279 30, 224 25,
280 32 225 27
281 ], 226 ],
282 "attributes": [ 227 "attributes": [
283 { 228 {
284 "name": "class", 229 "name": "class",
285 "value": "class3" 230 "value": "class3"
286 } 231 }
287 ], 232 ],
288 "layoutNodeIndex": 10 233 "layoutNodeIndex": 10
289 }, 234 },
290 { 235 {
291 "nodeType": 3, 236 "nodeType": 3,
292 "nodeName": "#text", 237 "nodeName": "#text",
293 "nodeValue": "\n ", 238 "nodeValue": "\n ",
294 "backendNodeId": 29 239 "backendNodeId": "<number>"
295 }, 240 },
296 { 241 {
297 "nodeType": 1, 242 "nodeType": 1,
298 "nodeName": "LI", 243 "nodeName": "LI",
299 "nodeValue": "", 244 "nodeValue": "",
300 "backendNodeId": 30, 245 "backendNodeId": "<number>",
301 "attributes": [ 246 "attributes": [
302 { 247 {
303 "name": "class", 248 "name": "class",
304 "value": "class4" 249 "value": "class4"
305 } 250 }
306 ], 251 ],
307 "layoutNodeIndex": 11 252 "layoutNodeIndex": 11
308 }, 253 },
309 { 254 {
310 "nodeType": 3, 255 "nodeType": 3,
311 "nodeName": "#text", 256 "nodeName": "#text",
312 "nodeValue": "\n ", 257 "nodeValue": "\n ",
313 "backendNodeId": 31 258 "backendNodeId": "<number>"
314 }, 259 },
315 { 260 {
316 "nodeType": 1, 261 "nodeType": 1,
317 "nodeName": "SPAN", 262 "nodeName": "SPAN",
318 "nodeValue": "", 263 "nodeValue": "",
319 "backendNodeId": 32, 264 "backendNodeId": "<number>",
320 "childNodeIndexes": [ 265 "childNodeIndexes": [
321 31 266 26
322 ], 267 ],
323 "layoutNodeIndex": 12 268 "layoutNodeIndex": 12
324 }, 269 },
325 { 270 {
326 "nodeType": 3, 271 "nodeType": 3,
327 "nodeName": "#text", 272 "nodeName": "#text",
328 "nodeValue": "Lets have a span", 273 "nodeValue": "Lets have a span",
329 "backendNodeId": 33, 274 "backendNodeId": "<number>",
330 "layoutNodeIndex": 13 275 "layoutNodeIndex": 13
331 }, 276 },
332 { 277 {
333 "nodeType": 3, 278 "nodeType": 3,
334 "nodeName": "#text", 279 "nodeName": "#text",
335 "nodeValue": "\n ", 280 "nodeValue": "\n ",
336 "backendNodeId": 34, 281 "backendNodeId": "<number>",
337 "layoutNodeIndex": 14 282 "layoutNodeIndex": 14
338 }, 283 },
339 { 284 {
340 "nodeType": 3, 285 "nodeType": 3,
341 "nodeName": "#text", 286 "nodeName": "#text",
342 "nodeValue": "\n ", 287 "nodeValue": "\n ",
343 "backendNodeId": 35 288 "backendNodeId": "<number>"
344 }, 289 },
345 { 290 {
346 "nodeType": 3, 291 "nodeType": 3,
347 "nodeName": "#text", 292 "nodeName": "#text",
348 "nodeValue": "\n ", 293 "nodeValue": "\n ",
349 "backendNodeId": 36, 294 "backendNodeId": "<number>",
350 "layoutNodeIndex": 15 295 "layoutNodeIndex": 15
351 }, 296 },
352 { 297 {
353 "nodeType": 1, 298 "nodeType": 1,
354 "nodeName": "DIV", 299 "nodeName": "DIV",
355 "nodeValue": "", 300 "nodeValue": "",
356 "backendNodeId": 37, 301 "backendNodeId": "<number>",
357 "childNodeIndexes": [ 302 "childNodeIndexes": [
358 36 303 31
359 ], 304 ],
360 "attributes": [ 305 "attributes": [
361 { 306 {
362 "name": "style", 307 "name": "style",
363 "value": "transform: rotateZ(90deg); width: 200px" 308 "value": "transform: rotateZ(90deg); width: 200px"
364 } 309 }
365 ], 310 ],
366 "layoutNodeIndex": 16 311 "layoutNodeIndex": 16
367 }, 312 },
368 { 313 {
369 "nodeType": 3, 314 "nodeType": 3,
370 "nodeName": "#text", 315 "nodeName": "#text",
371 "nodeValue": "Rotated text!", 316 "nodeValue": "Rotated text!",
372 "backendNodeId": 38, 317 "backendNodeId": "<number>",
373 "layoutNodeIndex": 17 318 "layoutNodeIndex": 17
374 }, 319 },
375 { 320 {
376 "nodeType": 3, 321 "nodeType": 3,
377 "nodeName": "#text", 322 "nodeName": "#text",
378 "nodeValue": "\n ", 323 "nodeValue": "\n ",
379 "backendNodeId": 39 324 "backendNodeId": "<number>"
380 }, 325 },
381 { 326 {
382 "nodeType": 1, 327 "nodeType": 1,
383 "nodeName": "IFRAME", 328 "nodeName": "IFRAME",
384 "nodeValue": "", 329 "nodeValue": "",
385 "backendNodeId": 40, 330 "backendNodeId": "<number>",
386 "attributes": [ 331 "attributes": [
387 { 332 {
388 "name": "src", 333 "name": "src",
389 "value": "../dom/resources/simple-iframe.html" 334 "value": "./simple-iframe.html"
390 }, 335 },
391 { 336 {
392 "name": "width", 337 "name": "width",
393 "value": "400" 338 "value": "400"
394 }, 339 },
395 { 340 {
396 "name": "height", 341 "name": "height",
397 "value": "200" 342 "value": "200"
398 } 343 }
399 ], 344 ],
400 "layoutNodeIndex": 18, 345 "layoutNodeIndex": 18,
401 "frameId": "<string>", 346 "frameId": "<string>",
402 "contentDocumentIndex": 39 347 "contentDocumentIndex": 34
403 }, 348 },
404 { 349 {
405 "nodeType": 9, 350 "nodeType": 9,
406 "nodeName": "#document", 351 "nodeName": "#document",
407 "nodeValue": "", 352 "nodeValue": "",
408 "backendNodeId": 41, 353 "backendNodeId": "<number>",
409 "childNodeIndexes": [ 354 "childNodeIndexes": [
410 40 355 35
411 ], 356 ],
412 "layoutNodeIndex": 19, 357 "layoutNodeIndex": 19,
413 "documentURL": "<string>", 358 "documentURL": "<string>",
414 "baseURL": "<string>" 359 "baseURL": "<string>"
415 }, 360 },
416 { 361 {
417 "nodeType": 1, 362 "nodeType": 1,
418 "nodeName": "HTML", 363 "nodeName": "HTML",
419 "nodeValue": "", 364 "nodeValue": "",
420 "backendNodeId": 42, 365 "backendNodeId": "<number>",
421 "childNodeIndexes": [ 366 "childNodeIndexes": [
367 36,
422 41, 368 41,
423 46, 369 42
424 47
425 ], 370 ],
426 "layoutNodeIndex": 20, 371 "layoutNodeIndex": 20,
427 "frameId": "<string>" 372 "frameId": "<string>"
428 }, 373 },
429 { 374 {
430 "nodeType": 1, 375 "nodeType": 1,
431 "nodeName": "HEAD", 376 "nodeName": "HEAD",
432 "nodeValue": "", 377 "nodeValue": "",
433 "backendNodeId": 43, 378 "backendNodeId": "<number>",
434 "childNodeIndexes": [ 379 "childNodeIndexes": [
435 42, 380 37,
436 43, 381 38,
437 45 382 40
438 ] 383 ]
439 }, 384 },
440 { 385 {
441 "nodeType": 3, 386 "nodeType": 3,
442 "nodeName": "#text", 387 "nodeName": "#text",
443 "nodeValue": "\n", 388 "nodeValue": "\n",
444 "backendNodeId": 44 389 "backendNodeId": "<number>"
445 }, 390 },
446 { 391 {
447 "nodeType": 1, 392 "nodeType": 1,
448 "nodeName": "STYLE", 393 "nodeName": "STYLE",
449 "nodeValue": "", 394 "nodeValue": "",
450 "backendNodeId": 45, 395 "backendNodeId": "<number>",
451 "childNodeIndexes": [ 396 "childNodeIndexes": [
452 44 397 39
453 ] 398 ]
454 }, 399 },
455 { 400 {
456 "nodeType": 3, 401 "nodeType": 3,
457 "nodeName": "#text", 402 "nodeName": "#text",
458 "nodeValue": "\n@font-face {\n font-family: 'ahem';\n src: url(../../../ resources/Ahem.ttf);\n}\n", 403 "nodeValue": "\n@font-face {\n font-family: 'ahem';\n src: url(../../res ources/Ahem.ttf);\n}\n",
459 "backendNodeId": 46 404 "backendNodeId": "<number>"
460 }, 405 },
461 { 406 {
462 "nodeType": 3, 407 "nodeType": 3,
463 "nodeName": "#text", 408 "nodeName": "#text",
464 "nodeValue": "\n", 409 "nodeValue": "\n",
465 "backendNodeId": 47 410 "backendNodeId": "<number>"
466 }, 411 },
467 { 412 {
468 "nodeType": 3, 413 "nodeType": 3,
469 "nodeName": "#text", 414 "nodeName": "#text",
470 "nodeValue": "\n", 415 "nodeValue": "\n",
471 "backendNodeId": 48 416 "backendNodeId": "<number>"
472 }, 417 },
473 { 418 {
474 "nodeType": 1, 419 "nodeType": 1,
475 "nodeName": "BODY", 420 "nodeName": "BODY",
476 "nodeValue": "", 421 "nodeValue": "",
477 "backendNodeId": 49, 422 "backendNodeId": "<number>",
478 "childNodeIndexes": [ 423 "childNodeIndexes": [
479 48, 424 43,
480 49, 425 44,
481 51 426 46
482 ], 427 ],
483 "layoutNodeIndex": 21 428 "layoutNodeIndex": 21
484 }, 429 },
485 { 430 {
486 "nodeType": 3, 431 "nodeType": 3,
487 "nodeName": "#text", 432 "nodeName": "#text",
488 "nodeValue": "\n", 433 "nodeValue": "\n",
489 "backendNodeId": 50 434 "backendNodeId": "<number>"
490 }, 435 },
491 { 436 {
492 "nodeType": 1, 437 "nodeType": 1,
493 "nodeName": "DIV", 438 "nodeName": "DIV",
494 "nodeValue": "", 439 "nodeValue": "",
495 "backendNodeId": 51, 440 "backendNodeId": "<number>",
496 "childNodeIndexes": [ 441 "childNodeIndexes": [
497 50 442 45
498 ], 443 ],
499 "attributes": [ 444 "attributes": [
500 { 445 {
501 "name": "style", 446 "name": "style",
502 "value": "font-family: ahem;" 447 "value": "font-family: ahem;"
503 } 448 }
504 ], 449 ],
505 "layoutNodeIndex": 22 450 "layoutNodeIndex": 22
506 }, 451 },
507 { 452 {
508 "nodeType": 3, 453 "nodeType": 3,
509 "nodeName": "#text", 454 "nodeName": "#text",
510 "nodeValue": "\nHello from the iframe.\n", 455 "nodeValue": "\nHello from the iframe.\n",
511 "backendNodeId": 52, 456 "backendNodeId": "<number>",
512 "layoutNodeIndex": 23 457 "layoutNodeIndex": 23
513 }, 458 },
514 { 459 {
515 "nodeType": 3, 460 "nodeType": 3,
516 "nodeName": "#text", 461 "nodeName": "#text",
517 "nodeValue": "\n\n\n", 462 "nodeValue": "\n\n\n",
518 "backendNodeId": 53 463 "backendNodeId": "<number>"
519 }, 464 },
520 { 465 {
521 "nodeType": 3, 466 "nodeType": 3,
522 "nodeName": "#text", 467 "nodeName": "#text",
523 "nodeValue": "\n ", 468 "nodeValue": "\n ",
524 "backendNodeId": 54, 469 "backendNodeId": "<number>",
525 "layoutNodeIndex": 24 470 "layoutNodeIndex": 24
526 }, 471 },
527 { 472 {
528 "nodeType": 1, 473 "nodeType": 1,
529 "nodeName": "DIV", 474 "nodeName": "DIV",
530 "nodeValue": "", 475 "nodeValue": "",
531 "backendNodeId": 55, 476 "backendNodeId": "<number>",
532 "childNodeIndexes": [ 477 "childNodeIndexes": [
533 54, 478 49,
534 55, 479 50,
535 57, 480 52,
536 58, 481 53,
537 61 482 56
538 ], 483 ],
539 "attributes": [ 484 "attributes": [
540 { 485 {
541 "name": "id", 486 "name": "id",
542 "value": "shadow-host" 487 "value": "shadow-host"
543 } 488 }
544 ], 489 ],
545 "layoutNodeIndex": 25 490 "layoutNodeIndex": 25
546 }, 491 },
547 { 492 {
548 "nodeType": 3, 493 "nodeType": 3,
549 "nodeName": "#text", 494 "nodeName": "#text",
550 "nodeValue": "\n", 495 "nodeValue": "\n ",
551 "backendNodeId": 56 496 "backendNodeId": "<number>"
552 }, 497 },
553 { 498 {
554 "nodeType": 1, 499 "nodeType": 1,
555 "nodeName": "STYLE", 500 "nodeName": "STYLE",
556 "nodeValue": "", 501 "nodeValue": "",
557 "backendNodeId": 57, 502 "backendNodeId": "<number>",
558 "childNodeIndexes": [ 503 "childNodeIndexes": [
559 56 504 51
560 ] 505 ]
561 }, 506 },
562 { 507 {
563 "nodeType": 3, 508 "nodeType": 3,
564 "nodeName": "#text", 509 "nodeName": "#text",
565 "nodeValue": "\n:host {\n color: red;\n}\n", 510 "nodeValue": "\n :host {\n color: red;\n }\n ",
566 "backendNodeId": 58 511 "backendNodeId": "<number>"
567 }, 512 },
568 { 513 {
569 "nodeType": 3, 514 "nodeType": 3,
570 "nodeName": "#text", 515 "nodeName": "#text",
571 "nodeValue": "\n", 516 "nodeValue": "\n ",
572 "backendNodeId": 59 517 "backendNodeId": "<number>"
573 }, 518 },
574 { 519 {
575 "nodeType": 1, 520 "nodeType": 1,
576 "nodeName": "DIV", 521 "nodeName": "DIV",
577 "nodeValue": "", 522 "nodeValue": "",
578 "backendNodeId": 60, 523 "backendNodeId": "<number>",
579 "childNodeIndexes": [ 524 "childNodeIndexes": [
580 59 525 54
581 ], 526 ],
582 "attributes": [ 527 "attributes": [
583 { 528 {
584 "name": "style", 529 "name": "style",
585 "value": "font-family: ahem;" 530 "value": "font-family: ahem;"
586 } 531 }
587 ], 532 ],
588 "layoutNodeIndex": 26 533 "layoutNodeIndex": 26
589 }, 534 },
590 { 535 {
591 "nodeType": 1, 536 "nodeType": 1,
592 "nodeName": "H1", 537 "nodeName": "H1",
593 "nodeValue": "", 538 "nodeValue": "",
594 "backendNodeId": 61, 539 "backendNodeId": "<number>",
595 "childNodeIndexes": [ 540 "childNodeIndexes": [
596 60 541 55
597 ], 542 ],
598 "layoutNodeIndex": 27 543 "layoutNodeIndex": 27
599 }, 544 },
600 { 545 {
601 "nodeType": 3, 546 "nodeType": 3,
602 "nodeName": "#text", 547 "nodeName": "#text",
603 "nodeValue": "Hi!", 548 "nodeValue": "Hi!",
604 "backendNodeId": 62, 549 "backendNodeId": "<number>",
605 "layoutNodeIndex": 28 550 "layoutNodeIndex": 28
606 }, 551 },
607 { 552 {
608 "nodeType": 3, 553 "nodeType": 3,
609 "nodeName": "#text", 554 "nodeName": "#text",
610 "nodeValue": "\n", 555 "nodeValue": "\n ",
611 "backendNodeId": 63 556 "backendNodeId": "<number>"
612 },
613 {
614 "nodeType": 3,
615 "nodeName": "#text",
616 "nodeValue": "\n ",
617 "backendNodeId": 64
618 },
619 {
620 "nodeType": 1,
621 "nodeName": "SCRIPT",
622 "nodeValue": "",
623 "backendNodeId": 65,
624 "childNodeIndexes": [
625 64
626 ],
627 "attributes": [
628 {
629 "name": "type",
630 "value": "text/javascript"
631 }
632 ]
633 },
634 {
635 "nodeType": 3,
636 "nodeName": "#text",
637 "nodeValue": "\n var host = document.querySelector(\"#shadow-host\" ).createShadowRoot();\n var template = document.querySelector(\"#shadow-t emplate\");\n host.appendChild(template.content);\n template.remov e();\n window.onload = runTest;\n ",
638 "backendNodeId": 66
639 }, 557 },
640 { 558 {
641 "nodeType": 3, 559 "nodeType": 3,
642 "nodeName": "#text", 560 "nodeName": "#text",
643 "nodeValue": "\n", 561 "nodeValue": "\n",
644 "backendNodeId": 67 562 "backendNodeId": "<number>"
645 }, 563 },
646 { 564 {
647 "nodeType": 3, 565 "nodeType": 3,
648 "nodeName": "#text", 566 "nodeName": "#text",
649 "nodeValue": "\n\n\n", 567 "nodeValue": "\n\n\n",
650 "backendNodeId": 68 568 "backendNodeId": "<number>"
651 } 569 }
652 ], 570 ],
653 "layoutTreeNodes": [ 571 "layoutTreeNodes": [
654 { 572 {
655 "domNodeIndex": 0, 573 "domNodeIndex": 0,
656 "boundingBox": { 574 "boundingBox": {
657 "x": 0, 575 "x": 0,
658 "y": 0, 576 "y": 0,
659 "width": 785, 577 "width": 785,
660 "height": 600 578 "height": 600
661 } 579 }
662 }, 580 },
663 { 581 {
664 "domNodeIndex": 1, 582 "domNodeIndex": 1,
665 "boundingBox": { 583 "boundingBox": {
666 "x": 0, 584 "x": 0,
667 "y": 0, 585 "y": 0,
668 "width": 785, 586 "width": 785,
669 "height": 911 587 "height": 911
670 }, 588 },
671 "styleIndex": 0 589 "styleIndex": 0
672 }, 590 },
673 { 591 {
674 "domNodeIndex": 14, 592 "domNodeIndex": 9,
675 "boundingBox": { 593 "boundingBox": {
676 "x": 8, 594 "x": 8,
677 "y": 8, 595 "y": 8,
678 "width": 769, 596 "width": 769,
679 "height": 882 597 "height": 882
680 }, 598 },
681 "styleIndex": 1 599 "styleIndex": 1
682 }, 600 },
683 { 601 {
684 "domNodeIndex": 16, 602 "domNodeIndex": 11,
685 "boundingBox": { 603 "boundingBox": {
686 "x": 8, 604 "x": 8,
687 "y": 8, 605 "y": 8,
688 "width": 769, 606 "width": 769,
689 "height": 882 607 "height": 882
690 }, 608 },
691 "styleIndex": 1 609 "styleIndex": 1
692 }, 610 },
693 { 611 {
694 "domNodeIndex": 18, 612 "domNodeIndex": 13,
695 "boundingBox": { 613 "boundingBox": {
696 "x": 8, 614 "x": 8,
697 "y": 8, 615 "y": 8,
698 "width": 769, 616 "width": 769,
699 "height": 16 617 "height": 16
700 }, 618 },
701 "styleIndex": 2 619 "styleIndex": 2
702 }, 620 },
703 { 621 {
704 "domNodeIndex": 19, 622 "domNodeIndex": 14,
705 "boundingBox": { 623 "boundingBox": {
706 "x": 8, 624 "x": 8,
707 "y": 8, 625 "y": 8,
708 "width": 144, 626 "width": 144,
709 "height": 16 627 "height": 16
710 }, 628 },
711 "layoutText": "Some Text", 629 "layoutText": "Some Text",
712 "inlineTextNodes": [ 630 "inlineTextNodes": [
713 { 631 {
714 "boundingBox": { 632 "boundingBox": {
715 "x": 8, 633 "x": 8,
716 "y": 8, 634 "y": 8,
717 "width": 144, 635 "width": 144,
718 "height": 16 636 "height": 16
719 }, 637 },
720 "startCharacterIndex": 0, 638 "startCharacterIndex": 0,
721 "numCharacters": 9 639 "numCharacters": 9
722 } 640 }
723 ], 641 ],
724 "styleIndex": 3 642 "styleIndex": 3
725 }, 643 },
726 { 644 {
727 "domNodeIndex": 20, 645 "domNodeIndex": 15,
728 "boundingBox": { 646 "boundingBox": {
729 "x": 8, 647 "x": 8,
730 "y": 568, 648 "y": 568,
731 "width": 224, 649 "width": 224,
732 "height": 16 650 "height": 16
733 }, 651 },
734 "layoutText": " And More Text\n ", 652 "layoutText": " And More Text\n ",
735 "inlineTextNodes": [ 653 "inlineTextNodes": [
736 { 654 {
737 "boundingBox": { 655 "boundingBox": {
738 "x": 8, 656 "x": 8,
739 "y": 568, 657 "y": 568,
740 "width": 224, 658 "width": 224,
741 "height": 16 659 "height": 16
742 }, 660 },
743 "startCharacterIndex": 1, 661 "startCharacterIndex": 1,
744 "numCharacters": 14 662 "numCharacters": 14
745 } 663 }
746 ], 664 ],
747 "styleIndex": 3 665 "styleIndex": 3
748 }, 666 },
749 { 667 {
750 "domNodeIndex": 21, 668 "domNodeIndex": 16,
751 "boundingBox": { 669 "boundingBox": {
752 "x": 232, 670 "x": 232,
753 "y": 24, 671 "y": 24,
754 "width": 200, 672 "width": 200,
755 "height": 576 673 "height": 576
756 }, 674 },
757 "styleIndex": 4 675 "styleIndex": 4
758 }, 676 },
759 { 677 {
760 "domNodeIndex": 23, 678 "domNodeIndex": 18,
761 "boundingBox": { 679 "boundingBox": {
762 "x": 232, 680 "x": 232,
763 "y": 40, 681 "y": 40,
764 "width": 200, 682 "width": 200,
765 "height": 480 683 "height": 480
766 }, 684 },
767 "styleIndex": 5 685 "styleIndex": 5
768 }, 686 },
769 { 687 {
770 "domNodeIndex": 24, 688 "domNodeIndex": 19,
771 "boundingBox": { 689 "boundingBox": {
772 "x": 232, 690 "x": 232,
773 "y": 40, 691 "y": 40,
774 "width": 192, 692 "width": 192,
775 "height": 480 693 "height": 480
776 }, 694 },
777 "layoutText": "\n Lorem ipsum dolor sit amet, consectetur adipiscin g elit. Pellentesque sit amet est sem.\n Aenean ut neque volutpat, posuer e odio at, mollis nibh. Aenean sodales nulla et\n ligula efficitur sollic itudin blandit sed lectus. Duis orci enim, sodales ac lectus sed,\n hendr erit efficitur est. Quisque gravida facilisis viverra.\n ", 695 "layoutText": "\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque sit amet est sem.\n Aenean ut neque volutpat, posuere od io at, mollis nibh. Aenean sodales nulla et\n ligula efficitur sollicitudin blandit sed lectus. Duis orci enim, sodales ac lectus sed,\n hendrerit eff icitur est. Quisque gravida facilisis viverra.\n ",
778 "inlineTextNodes": [ 696 "inlineTextNodes": [
779 { 697 {
780 "boundingBox": { 698 "boundingBox": {
781 "x": 232, 699 "x": 232,
782 "y": 40, 700 "y": 40,
783 "width": 176, 701 "width": 176,
784 "height": 16 702 "height": 16
785 }, 703 },
786 "startCharacterIndex": 9, 704 "startCharacterIndex": 7,
787 "numCharacters": 11 705 "numCharacters": 11
788 }, 706 },
789 { 707 {
790 "boundingBox": { 708 "boundingBox": {
791 "x": 232, 709 "x": 232,
792 "y": 56, 710 "y": 56,
793 "width": 144, 711 "width": 144,
794 "height": 16 712 "height": 16
795 }, 713 },
796 "startCharacterIndex": 21, 714 "startCharacterIndex": 19,
797 "numCharacters": 9 715 "numCharacters": 9
798 }, 716 },
799 { 717 {
800 "boundingBox": { 718 "boundingBox": {
801 "x": 232, 719 "x": 232,
802 "y": 72, 720 "y": 72,
803 "width": 80, 721 "width": 80,
804 "height": 16 722 "height": 16
805 }, 723 },
806 "startCharacterIndex": 31, 724 "startCharacterIndex": 29,
807 "numCharacters": 5 725 "numCharacters": 5
808 }, 726 },
809 { 727 {
810 "boundingBox": { 728 "boundingBox": {
811 "x": 232, 729 "x": 232,
812 "y": 88, 730 "y": 88,
813 "width": 176, 731 "width": 176,
814 "height": 16 732 "height": 16
815 }, 733 },
816 "startCharacterIndex": 37, 734 "startCharacterIndex": 35,
817 "numCharacters": 11 735 "numCharacters": 11
818 }, 736 },
819 { 737 {
820 "boundingBox": { 738 "boundingBox": {
821 "x": 232, 739 "x": 232,
822 "y": 104, 740 "y": 104,
823 "width": 160, 741 "width": 160,
824 "height": 16 742 "height": 16
825 }, 743 },
826 "startCharacterIndex": 49, 744 "startCharacterIndex": 47,
827 "numCharacters": 10 745 "numCharacters": 10
828 }, 746 },
829 { 747 {
830 "boundingBox": { 748 "boundingBox": {
831 "x": 232, 749 "x": 232,
832 "y": 120, 750 "y": 120,
833 "width": 80, 751 "width": 80,
834 "height": 16 752 "height": 16
835 }, 753 },
836 "startCharacterIndex": 60, 754 "startCharacterIndex": 58,
837 "numCharacters": 5 755 "numCharacters": 5
838 }, 756 },
839 { 757 {
840 "boundingBox": { 758 "boundingBox": {
841 "x": 232, 759 "x": 232,
842 "y": 136, 760 "y": 136,
843 "width": 192, 761 "width": 192,
844 "height": 16 762 "height": 16
845 }, 763 },
846 "startCharacterIndex": 66, 764 "startCharacterIndex": 64,
847 "numCharacters": 12 765 "numCharacters": 12
848 }, 766 },
849 { 767 {
850 "boundingBox": { 768 "boundingBox": {
851 "x": 232, 769 "x": 232,
852 "y": 152, 770 "y": 152,
853 "width": 192, 771 "width": 192,
854 "height": 16 772 "height": 16
855 }, 773 },
856 "startCharacterIndex": 79, 774 "startCharacterIndex": 77,
857 "numCharacters": 12 775 "numCharacters": 12
858 }, 776 },
859 { 777 {
860 "boundingBox": { 778 "boundingBox": {
861 "x": 232, 779 "x": 232,
862 "y": 168, 780 "y": 168,
863 "width": 80, 781 "width": 80,
864 "height": 16 782 "height": 16
865 }, 783 },
866 "startCharacterIndex": 92, 784 "startCharacterIndex": 90,
867 "numCharacters": 5 785 "numCharacters": 5
868 }, 786 },
869 { 787 {
870 "boundingBox": { 788 "boundingBox": {
871 "x": 312, 789 "x": 312,
872 "y": 168, 790 "y": 168,
873 "width": 96, 791 "width": 96,
874 "height": 16 792 "height": 16
875 }, 793 },
876 "startCharacterIndex": 105, 794 "startCharacterIndex": 101,
877 "numCharacters": 6 795 "numCharacters": 6
878 }, 796 },
879 { 797 {
880 "boundingBox": { 798 "boundingBox": {
881 "x": 232, 799 "x": 232,
882 "y": 184, 800 "y": 184,
883 "width": 128, 801 "width": 128,
884 "height": 16 802 "height": 16
885 }, 803 },
886 "startCharacterIndex": 112, 804 "startCharacterIndex": 108,
887 "numCharacters": 8 805 "numCharacters": 8
888 }, 806 },
889 { 807 {
890 "boundingBox": { 808 "boundingBox": {
891 "x": 232, 809 "x": 232,
892 "y": 200, 810 "y": 200,
893 "width": 144, 811 "width": 144,
894 "height": 16 812 "height": 16
895 }, 813 },
896 "startCharacterIndex": 121, 814 "startCharacterIndex": 117,
897 "numCharacters": 9 815 "numCharacters": 9
898 }, 816 },
899 { 817 {
900 "boundingBox": { 818 "boundingBox": {
901 "x": 232, 819 "x": 232,
902 "y": 216, 820 "y": 216,
903 "width": 192, 821 "width": 192,
904 "height": 16 822 "height": 16
905 }, 823 },
906 "startCharacterIndex": 131, 824 "startCharacterIndex": 127,
907 "numCharacters": 12 825 "numCharacters": 12
908 }, 826 },
909 { 827 {
910 "boundingBox": { 828 "boundingBox": {
911 "x": 232, 829 "x": 232,
912 "y": 232, 830 "y": 232,
913 "width": 160, 831 "width": 160,
914 "height": 16 832 "height": 16
915 }, 833 },
916 "startCharacterIndex": 144, 834 "startCharacterIndex": 140,
917 "numCharacters": 10 835 "numCharacters": 10
918 }, 836 },
919 { 837 {
920 "boundingBox": { 838 "boundingBox": {
921 "x": 232, 839 "x": 232,
922 "y": 248, 840 "y": 248,
923 "width": 192, 841 "width": 192,
924 "height": 16 842 "height": 16
925 }, 843 },
926 "startCharacterIndex": 155, 844 "startCharacterIndex": 151,
927 "numCharacters": 12 845 "numCharacters": 12
928 }, 846 },
929 { 847 {
930 "boundingBox": { 848 "boundingBox": {
931 "x": 232, 849 "x": 232,
932 "y": 264, 850 "y": 264,
933 "width": 112, 851 "width": 112,
934 "height": 16 852 "height": 16
935 }, 853 },
936 "startCharacterIndex": 168, 854 "startCharacterIndex": 164,
937 "numCharacters": 7 855 "numCharacters": 7
938 }, 856 },
939 { 857 {
940 "boundingBox": { 858 "boundingBox": {
941 "x": 232, 859 "x": 232,
942 "y": 280, 860 "y": 280,
943 "width": 128, 861 "width": 128,
944 "height": 16 862 "height": 16
945 }, 863 },
946 "startCharacterIndex": 176, 864 "startCharacterIndex": 172,
947 "numCharacters": 8 865 "numCharacters": 8
948 }, 866 },
949 { 867 {
950 "boundingBox": { 868 "boundingBox": {
951 "x": 232, 869 "x": 232,
952 "y": 296, 870 "y": 296,
953 "width": 96, 871 "width": 96,
954 "height": 16 872 "height": 16
955 }, 873 },
956 "startCharacterIndex": 193, 874 "startCharacterIndex": 187,
957 "numCharacters": 6 875 "numCharacters": 6
958 }, 876 },
959 { 877 {
960 "boundingBox": { 878 "boundingBox": {
961 "x": 232, 879 "x": 232,
962 "y": 312, 880 "y": 312,
963 "width": 144, 881 "width": 144,
964 "height": 16 882 "height": 16
965 }, 883 },
966 "startCharacterIndex": 200, 884 "startCharacterIndex": 194,
967 "numCharacters": 9 885 "numCharacters": 9
968 }, 886 },
969 { 887 {
970 "boundingBox": { 888 "boundingBox": {
971 "x": 232, 889 "x": 232,
972 "y": 328, 890 "y": 328,
973 "width": 192, 891 "width": 192,
974 "height": 16 892 "height": 16
975 }, 893 },
976 "startCharacterIndex": 210, 894 "startCharacterIndex": 204,
977 "numCharacters": 12 895 "numCharacters": 12
978 }, 896 },
979 { 897 {
980 "boundingBox": { 898 "boundingBox": {
981 "x": 232, 899 "x": 232,
982 "y": 344, 900 "y": 344,
983 "width": 176, 901 "width": 176,
984 "height": 16 902 "height": 16
985 }, 903 },
986 "startCharacterIndex": 223, 904 "startCharacterIndex": 217,
987 "numCharacters": 11 905 "numCharacters": 11
988 }, 906 },
989 { 907 {
990 "boundingBox": { 908 "boundingBox": {
991 "x": 232, 909 "x": 232,
992 "y": 360, 910 "y": 360,
993 "width": 192, 911 "width": 192,
994 "height": 16 912 "height": 16
995 }, 913 },
996 "startCharacterIndex": 235, 914 "startCharacterIndex": 229,
997 "numCharacters": 12 915 "numCharacters": 12
998 }, 916 },
999 { 917 {
1000 "boundingBox": { 918 "boundingBox": {
1001 "x": 232, 919 "x": 232,
1002 "y": 376, 920 "y": 376,
1003 "width": 160, 921 "width": 160,
1004 "height": 16 922 "height": 16
1005 }, 923 },
1006 "startCharacterIndex": 248, 924 "startCharacterIndex": 242,
1007 "numCharacters": 10 925 "numCharacters": 10
1008 }, 926 },
1009 { 927 {
1010 "boundingBox": { 928 "boundingBox": {
1011 "x": 232, 929 "x": 232,
1012 "y": 392, 930 "y": 392,
1013 "width": 160, 931 "width": 160,
1014 "height": 16 932 "height": 16
1015 }, 933 },
1016 "startCharacterIndex": 259, 934 "startCharacterIndex": 253,
1017 "numCharacters": 10 935 "numCharacters": 10
1018 }, 936 },
1019 { 937 {
1020 "boundingBox": { 938 "boundingBox": {
1021 "x": 232, 939 "x": 232,
1022 "y": 408, 940 "y": 408,
1023 "width": 176, 941 "width": 176,
1024 "height": 16 942 "height": 16
1025 }, 943 },
1026 "startCharacterIndex": 270, 944 "startCharacterIndex": 264,
1027 "numCharacters": 11 945 "numCharacters": 11
1028 }, 946 },
1029 { 947 {
1030 "boundingBox": { 948 "boundingBox": {
1031 "x": 232, 949 "x": 232,
1032 "y": 424, 950 "y": 424,
1033 "width": 144, 951 "width": 144,
1034 "height": 16 952 "height": 16
1035 }, 953 },
1036 "startCharacterIndex": 290, 954 "startCharacterIndex": 282,
1037 "numCharacters": 9 955 "numCharacters": 9
1038 }, 956 },
1039 { 957 {
1040 "boundingBox": { 958 "boundingBox": {
1041 "x": 232, 959 "x": 232,
1042 "y": 440, 960 "y": 440,
1043 "width": 144, 961 "width": 144,
1044 "height": 16 962 "height": 16
1045 }, 963 },
1046 "startCharacterIndex": 300, 964 "startCharacterIndex": 292,
1047 "numCharacters": 9 965 "numCharacters": 9
1048 }, 966 },
1049 { 967 {
1050 "boundingBox": { 968 "boundingBox": {
1051 "x": 232, 969 "x": 232,
1052 "y": 456, 970 "y": 456,
1053 "width": 192, 971 "width": 192,
1054 "height": 16 972 "height": 16
1055 }, 973 },
1056 "startCharacterIndex": 310, 974 "startCharacterIndex": 302,
1057 "numCharacters": 12 975 "numCharacters": 12
1058 }, 976 },
1059 { 977 {
1060 "boundingBox": { 978 "boundingBox": {
1061 "x": 232, 979 "x": 232,
1062 "y": 472, 980 "y": 472,
1063 "width": 112, 981 "width": 112,
1064 "height": 16 982 "height": 16
1065 }, 983 },
1066 "startCharacterIndex": 323, 984 "startCharacterIndex": 315,
1067 "numCharacters": 7 985 "numCharacters": 7
1068 }, 986 },
1069 { 987 {
1070 "boundingBox": { 988 "boundingBox": {
1071 "x": 232, 989 "x": 232,
1072 "y": 488, 990 "y": 488,
1073 "width": 144, 991 "width": 144,
1074 "height": 16 992 "height": 16
1075 }, 993 },
1076 "startCharacterIndex": 331, 994 "startCharacterIndex": 323,
1077 "numCharacters": 9 995 "numCharacters": 9
1078 }, 996 },
1079 { 997 {
1080 "boundingBox": { 998 "boundingBox": {
1081 "x": 232, 999 "x": 232,
1082 "y": 504, 1000 "y": 504,
1083 "width": 128, 1001 "width": 128,
1084 "height": 16 1002 "height": 16
1085 }, 1003 },
1086 "startCharacterIndex": 341, 1004 "startCharacterIndex": 333,
1087 "numCharacters": 8 1005 "numCharacters": 8
1088 } 1006 }
1089 ], 1007 ],
1090 "styleIndex": 3 1008 "styleIndex": 3
1091 }, 1009 },
1092 { 1010 {
1093 "domNodeIndex": 26, 1011 "domNodeIndex": 21,
1094 "boundingBox": { 1012 "boundingBox": {
1095 "x": 232, 1013 "x": 232,
1096 "y": 536, 1014 "y": 536,
1097 "width": 200, 1015 "width": 200,
1098 "height": 48 1016 "height": 48
1099 }, 1017 },
1100 "styleIndex": 6 1018 "styleIndex": 6
1101 }, 1019 },
1102 { 1020 {
1103 "domNodeIndex": 28, 1021 "domNodeIndex": 23,
1104 "boundingBox": { 1022 "boundingBox": {
1105 "x": 272, 1023 "x": 272,
1106 "y": 536, 1024 "y": 536,
1107 "width": 160, 1025 "width": 160,
1108 "height": 16 1026 "height": 16
1109 }, 1027 },
1110 "styleIndex": 7 1028 "styleIndex": 7
1111 }, 1029 },
1112 { 1030 {
1113 "domNodeIndex": 30, 1031 "domNodeIndex": 25,
1114 "boundingBox": { 1032 "boundingBox": {
1115 "x": 272, 1033 "x": 272,
1116 "y": 552, 1034 "y": 552,
1117 "width": 144, 1035 "width": 144,
1118 "height": 32 1036 "height": 32
1119 }, 1037 },
1120 "styleIndex": 8 1038 "styleIndex": 8
1121 }, 1039 },
1122 { 1040 {
1123 "domNodeIndex": 31, 1041 "domNodeIndex": 26,
1124 "boundingBox": { 1042 "boundingBox": {
1125 "x": 272, 1043 "x": 272,
1126 "y": 552, 1044 "y": 552,
1127 "width": 144, 1045 "width": 144,
1128 "height": 32 1046 "height": 32
1129 }, 1047 },
1130 "layoutText": "Lets have a span", 1048 "layoutText": "Lets have a span",
1131 "inlineTextNodes": [ 1049 "inlineTextNodes": [
1132 { 1050 {
1133 "boundingBox": { 1051 "boundingBox": {
(...skipping 12 matching lines...) Expand all
1146 "width": 96, 1064 "width": 96,
1147 "height": 16 1065 "height": 16
1148 }, 1066 },
1149 "startCharacterIndex": 10, 1067 "startCharacterIndex": 10,
1150 "numCharacters": 6 1068 "numCharacters": 6
1151 } 1069 }
1152 ], 1070 ],
1153 "styleIndex": 8 1071 "styleIndex": 8
1154 }, 1072 },
1155 { 1073 {
1156 "domNodeIndex": 32, 1074 "domNodeIndex": 27,
1157 "boundingBox": {
1158 "x": 0,
1159 "y": 0,
1160 "width": 0,
1161 "height": 0
1162 },
1163 "layoutText": "\n ",
1164 "styleIndex": 3
1165 },
1166 {
1167 "domNodeIndex": 34,
1168 "boundingBox": { 1075 "boundingBox": {
1169 "x": 0, 1076 "x": 0,
1170 "y": 0, 1077 "y": 0,
1171 "width": 0, 1078 "width": 0,
1172 "height": 0 1079 "height": 0
1173 }, 1080 },
1174 "layoutText": "\n ", 1081 "layoutText": "\n ",
1175 "styleIndex": 3 1082 "styleIndex": 3
1176 }, 1083 },
1177 { 1084 {
1178 "domNodeIndex": 35, 1085 "domNodeIndex": 29,
1086 "boundingBox": {
1087 "x": 0,
1088 "y": 0,
1089 "width": 0,
1090 "height": 0
1091 },
1092 "layoutText": "\n ",
1093 "styleIndex": 3
1094 },
1095 {
1096 "domNodeIndex": 30,
1179 "boundingBox": { 1097 "boundingBox": {
1180 "x": 92, 1098 "x": 92,
1181 "y": 516, 1099 "y": 516,
1182 "width": 32, 1100 "width": 32,
1183 "height": 200 1101 "height": 200
1184 }, 1102 },
1185 "styleIndex": 9 1103 "styleIndex": 9
1186 }, 1104 },
1187 { 1105 {
1188 "domNodeIndex": 36, 1106 "domNodeIndex": 31,
1189 "boundingBox": { 1107 "boundingBox": {
1190 "x": 92, 1108 "x": 92,
1191 "y": 516, 1109 "y": 516,
1192 "width": 32, 1110 "width": 32,
1193 "height": 112 1111 "height": 112
1194 }, 1112 },
1195 "layoutText": "Rotated text!", 1113 "layoutText": "Rotated text!",
1196 "inlineTextNodes": [ 1114 "inlineTextNodes": [
1197 { 1115 {
1198 "boundingBox": { 1116 "boundingBox": {
(...skipping 12 matching lines...) Expand all
1211 "width": 16, 1129 "width": 16,
1212 "height": 80 1130 "height": 80
1213 }, 1131 },
1214 "startCharacterIndex": 8, 1132 "startCharacterIndex": 8,
1215 "numCharacters": 5 1133 "numCharacters": 5
1216 } 1134 }
1217 ], 1135 ],
1218 "styleIndex": 10 1136 "styleIndex": 10
1219 }, 1137 },
1220 { 1138 {
1221 "domNodeIndex": 38, 1139 "domNodeIndex": 33,
1222 "boundingBox": { 1140 "boundingBox": {
1223 "x": 8, 1141 "x": 8,
1224 "y": 632, 1142 "y": 632,
1225 "width": 404, 1143 "width": 404,
1226 "height": 204 1144 "height": 204
1227 }, 1145 },
1228 "styleIndex": 11 1146 "styleIndex": 11
1229 }, 1147 },
1230 { 1148 {
1231 "domNodeIndex": 39, 1149 "domNodeIndex": 34,
1232 "boundingBox": { 1150 "boundingBox": {
1233 "x": 0, 1151 "x": 0,
1234 "y": 0, 1152 "y": 0,
1235 "width": 400, 1153 "width": 400,
1236 "height": 200 1154 "height": 200
1237 } 1155 }
1238 }, 1156 },
1239 { 1157 {
1240 "domNodeIndex": 40, 1158 "domNodeIndex": 35,
1241 "boundingBox": { 1159 "boundingBox": {
1242 "x": 10, 1160 "x": 10,
1243 "y": 634, 1161 "y": 634,
1244 "width": 400, 1162 "width": 400,
1245 "height": 200 1163 "height": 200
1246 }, 1164 },
1247 "styleIndex": 12 1165 "styleIndex": 12
1248 }, 1166 },
1249 { 1167 {
1250 "domNodeIndex": 47, 1168 "domNodeIndex": 42,
1251 "boundingBox": { 1169 "boundingBox": {
1252 "x": 18, 1170 "x": 18,
1253 "y": 642, 1171 "y": 642,
1254 "width": 384, 1172 "width": 384,
1255 "height": 184 1173 "height": 184
1256 }, 1174 },
1257 "styleIndex": 13 1175 "styleIndex": 13
1258 }, 1176 },
1259 { 1177 {
1260 "domNodeIndex": 49, 1178 "domNodeIndex": 44,
1261 "boundingBox": { 1179 "boundingBox": {
1262 "x": 18, 1180 "x": 18,
1263 "y": 642, 1181 "y": 642,
1264 "width": 384, 1182 "width": 384,
1265 "height": 16 1183 "height": 16
1266 }, 1184 },
1267 "styleIndex": 14 1185 "styleIndex": 14
1268 }, 1186 },
1269 { 1187 {
1270 "domNodeIndex": 50, 1188 "domNodeIndex": 45,
1271 "boundingBox": { 1189 "boundingBox": {
1272 "x": 8, 1190 "x": 8,
1273 "y": 8, 1191 "y": 8,
1274 "width": 352, 1192 "width": 352,
1275 "height": 16 1193 "height": 16
1276 }, 1194 },
1277 "layoutText": "\nHello from the iframe.\n", 1195 "layoutText": "\nHello from the iframe.\n",
1278 "inlineTextNodes": [ 1196 "inlineTextNodes": [
1279 { 1197 {
1280 "boundingBox": { 1198 "boundingBox": {
1281 "x": 8, 1199 "x": 8,
1282 "y": 8, 1200 "y": 8,
1283 "width": 352, 1201 "width": 352,
1284 "height": 16 1202 "height": 16
1285 }, 1203 },
1286 "startCharacterIndex": 1, 1204 "startCharacterIndex": 1,
1287 "numCharacters": 22 1205 "numCharacters": 22
1288 } 1206 }
1289 ], 1207 ],
1290 "styleIndex": 3 1208 "styleIndex": 3
1291 }, 1209 },
1292 { 1210 {
1293 "domNodeIndex": 52, 1211 "domNodeIndex": 47,
1294 "boundingBox": { 1212 "boundingBox": {
1295 "x": 0, 1213 "x": 0,
1296 "y": 0, 1214 "y": 0,
1297 "width": 0, 1215 "width": 0,
1298 "height": 0 1216 "height": 0
1299 }, 1217 },
1300 "layoutText": "\n ", 1218 "layoutText": "\n ",
1301 "styleIndex": 3 1219 "styleIndex": 3
1302 }, 1220 },
1303 { 1221 {
1304 "domNodeIndex": 53, 1222 "domNodeIndex": 48,
1305 "boundingBox": { 1223 "boundingBox": {
1306 "x": 8, 1224 "x": 8,
1307 "y": 857, 1225 "y": 857,
1308 "width": 769, 1226 "width": 769,
1309 "height": 33 1227 "height": 33
1310 }, 1228 },
1311 "styleIndex": 15 1229 "styleIndex": 15
1312 }, 1230 },
1313 { 1231 {
1314 "domNodeIndex": 58, 1232 "domNodeIndex": 53,
1315 "boundingBox": { 1233 "boundingBox": {
1316 "x": 8, 1234 "x": 8,
1317 "y": 857, 1235 "y": 857,
1318 "width": 769, 1236 "width": 769,
1319 "height": 33 1237 "height": 33
1320 }, 1238 },
1321 "styleIndex": 15 1239 "styleIndex": 15
1322 }, 1240 },
1323 { 1241 {
1324 "domNodeIndex": 59, 1242 "domNodeIndex": 54,
1325 "boundingBox": { 1243 "boundingBox": {
1326 "x": 8, 1244 "x": 8,
1327 "y": 857, 1245 "y": 857,
1328 "width": 769, 1246 "width": 769,
1329 "height": 33 1247 "height": 33
1330 }, 1248 },
1331 "styleIndex": 15 1249 "styleIndex": 15
1332 }, 1250 },
1333 { 1251 {
1334 "domNodeIndex": 60, 1252 "domNodeIndex": 55,
1335 "boundingBox": { 1253 "boundingBox": {
1336 "x": 8, 1254 "x": 8,
1337 "y": 857, 1255 "y": 857,
1338 "width": 96, 1256 "width": 96,
1339 "height": 33 1257 "height": 33
1340 }, 1258 },
1341 "layoutText": "Hi!", 1259 "layoutText": "Hi!",
1342 "inlineTextNodes": [ 1260 "inlineTextNodes": [
1343 { 1261 {
1344 "boundingBox": { 1262 "boundingBox": {
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
1895 }, 1813 },
1896 { 1814 {
1897 "name": "color", 1815 "name": "color",
1898 "value": "rgb(255, 0, 0)" 1816 "value": "rgb(255, 0, 0)"
1899 } 1817 }
1900 ] 1818 ]
1901 } 1819 }
1902 ] 1820 ]
1903 } 1821 }
1904 1822
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698