| OLD | NEW |
| 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": 3, |
| 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": 4, |
| 27 "childNodeIndexes": [ | 21 "childNodeIndexes": [ |
| 28 2, | 22 2, |
| 29 13, | 23 3 |
| 30 14 | |
| 31 ], | 24 ], |
| 32 "layoutNodeIndex": 1, | 25 "layoutNodeIndex": 1, |
| 33 "frameId": "<string>" | 26 "frameId": "<string>" |
| 34 }, | 27 }, |
| 35 { | 28 { |
| 36 "nodeType": 1, | 29 "nodeType": 1, |
| 37 "nodeName": "HEAD", | 30 "nodeName": "HEAD", |
| 38 "nodeValue": "", | 31 "nodeValue": "", |
| 39 "backendNodeId": 4, | 32 "backendNodeId": 5 |
| 33 }, |
| 34 { |
| 35 "nodeType": 1, |
| 36 "nodeName": "BODY", |
| 37 "nodeValue": "", |
| 38 "backendNodeId": 6, |
| 40 "childNodeIndexes": [ | 39 "childNodeIndexes": [ |
| 41 3, | |
| 42 4, | 40 4, |
| 43 6, | 41 5, |
| 44 7, | 42 7, |
| 45 8, | 43 8, |
| 46 9, | 44 9, |
| 47 11, | 45 44 |
| 48 12 | 46 ], |
| 47 "layoutNodeIndex": 2 |
| 48 }, |
| 49 { |
| 50 "nodeType": 3, |
| 51 "nodeName": "#text", |
| 52 "nodeValue": "\n\n\n", |
| 53 "backendNodeId": 7 |
| 54 }, |
| 55 { |
| 56 "nodeType": 1, |
| 57 "nodeName": "STYLE", |
| 58 "nodeValue": "", |
| 59 "backendNodeId": 8, |
| 60 "childNodeIndexes": [ |
| 61 6 |
| 49 ] | 62 ] |
| 50 }, | 63 }, |
| 51 { | 64 { |
| 52 "nodeType": 3, | 65 "nodeType": 3, |
| 53 "nodeName": "#text", | 66 "nodeName": "#text", |
| 54 "nodeValue": "\n", | 67 "nodeValue": "<value>", |
| 55 "backendNodeId": 5 | 68 "backendNodeId": 9 |
| 56 }, | |
| 57 { | |
| 58 "nodeType": 1, | |
| 59 "nodeName": "STYLE", | |
| 60 "nodeValue": "", | |
| 61 "backendNodeId": 6, | |
| 62 "childNodeIndexes": [ | |
| 63 5 | |
| 64 ] | |
| 65 }, | |
| 66 { | |
| 67 "nodeType": 3, | |
| 68 "nodeName": "#text", | |
| 69 "nodeValue": "\n@font-face {\n font-family: 'ahem';\n src: url(../../res
ources/Ahem.ttf);\n}\n", | |
| 70 "backendNodeId": 7 | |
| 71 }, | |
| 72 { | |
| 73 "nodeType": 3, | |
| 74 "nodeName": "#text", | |
| 75 "nodeValue": "\n", | |
| 76 "backendNodeId": 8 | |
| 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/inspector-protocol-test.
js" | |
| 91 } | |
| 92 ] | |
| 93 }, | 69 }, |
| 94 { | 70 { |
| 95 "nodeType": 3, | 71 "nodeType": 3, |
| 96 "nodeName": "#text", | 72 "nodeName": "#text", |
| 97 "nodeValue": "\n", | 73 "nodeValue": "\n", |
| 98 "backendNodeId": 10 | 74 "backendNodeId": 10 |
| 99 }, | 75 }, |
| 100 { | 76 { |
| 101 "nodeType": 1, | |
| 102 "nodeName": "SCRIPT", | |
| 103 "nodeValue": "", | |
| 104 "backendNodeId": 11, | |
| 105 "childNodeIndexes": [ | |
| 106 10 | |
| 107 ] | |
| 108 }, | |
| 109 { | |
| 110 "nodeType": 3, | 77 "nodeType": 3, |
| 111 "nodeName": "#text", | 78 "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", | 79 "nodeValue": "\n\n\n", |
| 113 "backendNodeId": 12 | 80 "backendNodeId": 11 |
| 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 }, | |
| 133 { | |
| 134 "nodeType": 1, | |
| 135 "nodeName": "BODY", | |
| 136 "nodeValue": "", | |
| 137 "backendNodeId": 16, | |
| 138 "childNodeIndexes": [ | |
| 139 15, | |
| 140 16, | |
| 141 66 | |
| 142 ], | |
| 143 "attributes": [ | |
| 144 { | |
| 145 "name": "class", | |
| 146 "value": "body-class" | |
| 147 } | |
| 148 ], | |
| 149 "layoutNodeIndex": 2 | |
| 150 }, | |
| 151 { | |
| 152 "nodeType": 3, | |
| 153 "nodeName": "#text", | |
| 154 "nodeValue": "\n", | |
| 155 "backendNodeId": 17 | |
| 156 }, | 81 }, |
| 157 { | 82 { |
| 158 "nodeType": 1, | 83 "nodeType": 1, |
| 159 "nodeName": "DIV", | 84 "nodeName": "DIV", |
| 160 "nodeValue": "", | 85 "nodeValue": "", |
| 161 "backendNodeId": 18, | 86 "backendNodeId": 12, |
| 162 "childNodeIndexes": [ | 87 "childNodeIndexes": [ |
| 163 17, | 88 10, |
| 164 18, | 89 11, |
| 165 20, | 90 13, |
| 166 21, | 91 14, |
| 92 27, |
| 93 28, |
| 94 30, |
| 95 31, |
| 96 33, |
| 167 34, | 97 34, |
| 168 35, | 98 43 |
| 169 37, | |
| 170 38, | |
| 171 52, | |
| 172 53, | |
| 173 62, | |
| 174 63, | |
| 175 65 | |
| 176 ], | 99 ], |
| 177 "attributes": [ | 100 "attributes": [ |
| 178 { | 101 { |
| 179 "name": "style", | 102 "name": "style", |
| 180 "value": "font-family: ahem;" | 103 "value": "font-family: ahem;" |
| 181 } | 104 } |
| 182 ], | 105 ], |
| 183 "layoutNodeIndex": 3 | 106 "layoutNodeIndex": 3 |
| 184 }, | 107 }, |
| 185 { | 108 { |
| 186 "nodeType": 3, | 109 "nodeType": 3, |
| 187 "nodeName": "#text", | 110 "nodeName": "#text", |
| 188 "nodeValue": "\n ", | 111 "nodeValue": "\n ", |
| 189 "backendNodeId": 19 | 112 "backendNodeId": 13 |
| 190 }, | 113 }, |
| 191 { | 114 { |
| 192 "nodeType": 1, | 115 "nodeType": 1, |
| 193 "nodeName": "DIV", | 116 "nodeName": "DIV", |
| 194 "nodeValue": "", | 117 "nodeValue": "", |
| 195 "backendNodeId": 20, | 118 "backendNodeId": 14, |
| 196 "childNodeIndexes": [ | 119 "childNodeIndexes": [ |
| 197 19 | 120 12 |
| 198 ], | 121 ], |
| 199 "attributes": [ | 122 "attributes": [ |
| 200 { | 123 { |
| 201 "name": "class", | 124 "name": "class", |
| 202 "value": "class1" | 125 "value": "class1" |
| 203 } | 126 } |
| 204 ], | 127 ], |
| 205 "layoutNodeIndex": 4 | 128 "layoutNodeIndex": 4 |
| 206 }, | 129 }, |
| 207 { | 130 { |
| 208 "nodeType": 3, | 131 "nodeType": 3, |
| 209 "nodeName": "#text", | 132 "nodeName": "#text", |
| 210 "nodeValue": "Some Text", | 133 "nodeValue": "Some Text", |
| 211 "backendNodeId": 21, | 134 "backendNodeId": 15, |
| 212 "layoutNodeIndex": 5 | 135 "layoutNodeIndex": 5 |
| 213 }, | 136 }, |
| 214 { | 137 { |
| 215 "nodeType": 3, | 138 "nodeType": 3, |
| 216 "nodeName": "#text", | 139 "nodeName": "#text", |
| 217 "nodeValue": " And More Text\n ", | 140 "nodeValue": " And More Text\n ", |
| 218 "backendNodeId": 22, | 141 "backendNodeId": 16, |
| 219 "layoutNodeIndex": 6 | 142 "layoutNodeIndex": 6 |
| 220 }, | 143 }, |
| 221 { | 144 { |
| 222 "nodeType": 1, | 145 "nodeType": 1, |
| 223 "nodeName": "DIV", | 146 "nodeName": "DIV", |
| 224 "nodeValue": "", | 147 "nodeValue": "", |
| 225 "backendNodeId": 23, | 148 "backendNodeId": 17, |
| 226 "childNodeIndexes": [ | 149 "childNodeIndexes": [ |
| 227 22, | 150 15, |
| 228 23, | 151 16, |
| 229 25, | 152 18, |
| 230 26, | 153 19, |
| 231 33 | 154 26 |
| 232 ], | 155 ], |
| 233 "attributes": [ | 156 "attributes": [ |
| 234 { | 157 { |
| 235 "name": "style", | 158 "name": "style", |
| 236 "value": "display:inline-block; width: 200px" | 159 "value": "display:inline-block; width: 200px" |
| 237 } | 160 } |
| 238 ], | 161 ], |
| 239 "layoutNodeIndex": 7 | 162 "layoutNodeIndex": 7 |
| 240 }, | 163 }, |
| 241 { | 164 { |
| 242 "nodeType": 3, | 165 "nodeType": 3, |
| 243 "nodeName": "#text", | 166 "nodeName": "#text", |
| 244 "nodeValue": "\n ", | 167 "nodeValue": "\n ", |
| 245 "backendNodeId": 24 | 168 "backendNodeId": 18 |
| 246 }, | 169 }, |
| 247 { | 170 { |
| 248 "nodeType": 1, | 171 "nodeType": 1, |
| 249 "nodeName": "P", | 172 "nodeName": "P", |
| 250 "nodeValue": "", | 173 "nodeValue": "", |
| 251 "backendNodeId": 25, | 174 "backendNodeId": 19, |
| 252 "childNodeIndexes": [ | 175 "childNodeIndexes": [ |
| 253 24 | 176 17 |
| 254 ], | 177 ], |
| 255 "layoutNodeIndex": 8 | 178 "layoutNodeIndex": 8 |
| 256 }, | 179 }, |
| 257 { | 180 { |
| 258 "nodeType": 3, | 181 "nodeType": 3, |
| 259 "nodeName": "#text", | 182 "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 ", | 183 "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 ", |
| 261 "backendNodeId": 26, | 184 "backendNodeId": 20, |
| 262 "layoutNodeIndex": 9 | 185 "layoutNodeIndex": 9 |
| 263 }, | 186 }, |
| 264 { | 187 { |
| 265 "nodeType": 3, | 188 "nodeType": 3, |
| 266 "nodeName": "#text", | 189 "nodeName": "#text", |
| 267 "nodeValue": "\n ", | 190 "nodeValue": "\n ", |
| 268 "backendNodeId": 27 | 191 "backendNodeId": 21 |
| 269 }, | 192 }, |
| 270 { | 193 { |
| 271 "nodeType": 1, | 194 "nodeType": 1, |
| 272 "nodeName": "UL", | 195 "nodeName": "UL", |
| 273 "nodeValue": "", | 196 "nodeValue": "", |
| 274 "backendNodeId": 28, | 197 "backendNodeId": 22, |
| 275 "childNodeIndexes": [ | 198 "childNodeIndexes": [ |
| 276 27, | 199 20, |
| 277 28, | 200 21, |
| 278 29, | 201 22, |
| 279 30, | 202 23, |
| 280 32 | 203 25 |
| 281 ], | 204 ], |
| 282 "attributes": [ | 205 "attributes": [ |
| 283 { | 206 { |
| 284 "name": "class", | 207 "name": "class", |
| 285 "value": "class3" | 208 "value": "class3" |
| 286 } | 209 } |
| 287 ], | 210 ], |
| 288 "layoutNodeIndex": 10 | 211 "layoutNodeIndex": 10 |
| 289 }, | 212 }, |
| 290 { | 213 { |
| 291 "nodeType": 3, | 214 "nodeType": 3, |
| 292 "nodeName": "#text", | 215 "nodeName": "#text", |
| 293 "nodeValue": "\n ", | 216 "nodeValue": "\n ", |
| 294 "backendNodeId": 29 | 217 "backendNodeId": 23 |
| 295 }, | 218 }, |
| 296 { | 219 { |
| 297 "nodeType": 1, | 220 "nodeType": 1, |
| 298 "nodeName": "LI", | 221 "nodeName": "LI", |
| 299 "nodeValue": "", | 222 "nodeValue": "", |
| 300 "backendNodeId": 30, | 223 "backendNodeId": 24, |
| 301 "attributes": [ | 224 "attributes": [ |
| 302 { | 225 { |
| 303 "name": "class", | 226 "name": "class", |
| 304 "value": "class4" | 227 "value": "class4" |
| 305 } | 228 } |
| 306 ], | 229 ], |
| 307 "layoutNodeIndex": 11 | 230 "layoutNodeIndex": 11 |
| 308 }, | 231 }, |
| 309 { | 232 { |
| 310 "nodeType": 3, | 233 "nodeType": 3, |
| 311 "nodeName": "#text", | 234 "nodeName": "#text", |
| 312 "nodeValue": "\n ", | 235 "nodeValue": "\n ", |
| 313 "backendNodeId": 31 | 236 "backendNodeId": 25 |
| 314 }, | 237 }, |
| 315 { | 238 { |
| 316 "nodeType": 1, | 239 "nodeType": 1, |
| 317 "nodeName": "SPAN", | 240 "nodeName": "SPAN", |
| 318 "nodeValue": "", | 241 "nodeValue": "", |
| 319 "backendNodeId": 32, | 242 "backendNodeId": 26, |
| 320 "childNodeIndexes": [ | 243 "childNodeIndexes": [ |
| 321 31 | 244 24 |
| 322 ], | 245 ], |
| 323 "layoutNodeIndex": 12 | 246 "layoutNodeIndex": 12 |
| 324 }, | 247 }, |
| 325 { | 248 { |
| 326 "nodeType": 3, | 249 "nodeType": 3, |
| 327 "nodeName": "#text", | 250 "nodeName": "#text", |
| 328 "nodeValue": "Lets have a span", | 251 "nodeValue": "Lets have a span", |
| 329 "backendNodeId": 33, | 252 "backendNodeId": 27, |
| 330 "layoutNodeIndex": 13 | 253 "layoutNodeIndex": 13 |
| 331 }, | 254 }, |
| 332 { | 255 { |
| 333 "nodeType": 3, | 256 "nodeType": 3, |
| 334 "nodeName": "#text", | 257 "nodeName": "#text", |
| 335 "nodeValue": "\n ", | 258 "nodeValue": "\n ", |
| 336 "backendNodeId": 34, | 259 "backendNodeId": 28, |
| 337 "layoutNodeIndex": 14 | 260 "layoutNodeIndex": 14 |
| 338 }, | 261 }, |
| 339 { | 262 { |
| 340 "nodeType": 3, | 263 "nodeType": 3, |
| 341 "nodeName": "#text", | 264 "nodeName": "#text", |
| 342 "nodeValue": "\n ", | 265 "nodeValue": "\n ", |
| 343 "backendNodeId": 35 | 266 "backendNodeId": 29 |
| 344 }, | 267 }, |
| 345 { | 268 { |
| 346 "nodeType": 3, | 269 "nodeType": 3, |
| 347 "nodeName": "#text", | 270 "nodeName": "#text", |
| 348 "nodeValue": "\n ", | 271 "nodeValue": "\n ", |
| 349 "backendNodeId": 36, | 272 "backendNodeId": 30, |
| 350 "layoutNodeIndex": 15 | 273 "layoutNodeIndex": 15 |
| 351 }, | 274 }, |
| 352 { | 275 { |
| 353 "nodeType": 1, | 276 "nodeType": 1, |
| 354 "nodeName": "DIV", | 277 "nodeName": "DIV", |
| 355 "nodeValue": "", | 278 "nodeValue": "", |
| 356 "backendNodeId": 37, | 279 "backendNodeId": 31, |
| 357 "childNodeIndexes": [ | 280 "childNodeIndexes": [ |
| 358 36 | 281 29 |
| 359 ], | 282 ], |
| 360 "attributes": [ | 283 "attributes": [ |
| 361 { | 284 { |
| 362 "name": "style", | 285 "name": "style", |
| 363 "value": "transform: rotateZ(90deg); width: 200px" | 286 "value": "transform: rotateZ(90deg); width: 200px" |
| 364 } | 287 } |
| 365 ], | 288 ], |
| 366 "layoutNodeIndex": 16 | 289 "layoutNodeIndex": 16 |
| 367 }, | 290 }, |
| 368 { | 291 { |
| 369 "nodeType": 3, | 292 "nodeType": 3, |
| 370 "nodeName": "#text", | 293 "nodeName": "#text", |
| 371 "nodeValue": "Rotated text!", | 294 "nodeValue": "Rotated text!", |
| 372 "backendNodeId": 38, | 295 "backendNodeId": 32, |
| 373 "layoutNodeIndex": 17 | 296 "layoutNodeIndex": 17 |
| 374 }, | 297 }, |
| 375 { | 298 { |
| 376 "nodeType": 3, | 299 "nodeType": 3, |
| 377 "nodeName": "#text", | 300 "nodeName": "#text", |
| 378 "nodeValue": "\n ", | 301 "nodeValue": "\n ", |
| 379 "backendNodeId": 39 | 302 "backendNodeId": 33 |
| 380 }, | 303 }, |
| 381 { | 304 { |
| 382 "nodeType": 1, | 305 "nodeType": 1, |
| 383 "nodeName": "IFRAME", | 306 "nodeName": "IFRAME", |
| 384 "nodeValue": "", | 307 "nodeValue": "", |
| 385 "backendNodeId": 40, | 308 "backendNodeId": 34, |
| 386 "attributes": [ | 309 "attributes": [ |
| 387 { | 310 { |
| 388 "name": "src", | 311 "name": "src", |
| 389 "value": "../dom/resources/simple-iframe.html" | 312 "value": "<value>" |
| 390 }, | 313 }, |
| 391 { | 314 { |
| 392 "name": "width", | 315 "name": "width", |
| 393 "value": "400" | 316 "value": "400" |
| 394 }, | 317 }, |
| 395 { | 318 { |
| 396 "name": "height", | 319 "name": "height", |
| 397 "value": "200" | 320 "value": "200" |
| 398 } | 321 } |
| 399 ], | 322 ], |
| 400 "layoutNodeIndex": 18, | 323 "layoutNodeIndex": 18, |
| 401 "frameId": "<string>", | 324 "frameId": "<string>", |
| 402 "contentDocumentIndex": 39 | 325 "contentDocumentIndex": 32 |
| 403 }, | 326 }, |
| 404 { | 327 { |
| 405 "nodeType": 9, | 328 "nodeType": 9, |
| 406 "nodeName": "#document", | 329 "nodeName": "#document", |
| 407 "nodeValue": "", | 330 "nodeValue": "", |
| 408 "backendNodeId": 41, | 331 "backendNodeId": 35, |
| 409 "childNodeIndexes": [ | |
| 410 40 | |
| 411 ], | |
| 412 "layoutNodeIndex": 19, | 332 "layoutNodeIndex": 19, |
| 413 "documentURL": "<string>", | 333 "documentURL": "<string>", |
| 414 "baseURL": "<string>" | 334 "baseURL": "<string>" |
| 415 }, | 335 }, |
| 416 { | 336 { |
| 417 "nodeType": 1, | |
| 418 "nodeName": "HTML", | |
| 419 "nodeValue": "", | |
| 420 "backendNodeId": 42, | |
| 421 "childNodeIndexes": [ | |
| 422 41, | |
| 423 46, | |
| 424 47 | |
| 425 ], | |
| 426 "layoutNodeIndex": 20, | |
| 427 "frameId": "<string>" | |
| 428 }, | |
| 429 { | |
| 430 "nodeType": 1, | |
| 431 "nodeName": "HEAD", | |
| 432 "nodeValue": "", | |
| 433 "backendNodeId": 43, | |
| 434 "childNodeIndexes": [ | |
| 435 42, | |
| 436 43, | |
| 437 45 | |
| 438 ] | |
| 439 }, | |
| 440 { | |
| 441 "nodeType": 3, | 337 "nodeType": 3, |
| 442 "nodeName": "#text", | 338 "nodeName": "#text", |
| 443 "nodeValue": "\n", | 339 "nodeValue": "\n ", |
| 444 "backendNodeId": 44 | 340 "backendNodeId": 36, |
| 445 }, | 341 "layoutNodeIndex": 20 |
| 446 { | |
| 447 "nodeType": 1, | |
| 448 "nodeName": "STYLE", | |
| 449 "nodeValue": "", | |
| 450 "backendNodeId": 45, | |
| 451 "childNodeIndexes": [ | |
| 452 44 | |
| 453 ] | |
| 454 }, | |
| 455 { | |
| 456 "nodeType": 3, | |
| 457 "nodeName": "#text", | |
| 458 "nodeValue": "\n@font-face {\n font-family: 'ahem';\n src: url(../../../
resources/Ahem.ttf);\n}\n", | |
| 459 "backendNodeId": 46 | |
| 460 }, | |
| 461 { | |
| 462 "nodeType": 3, | |
| 463 "nodeName": "#text", | |
| 464 "nodeValue": "\n", | |
| 465 "backendNodeId": 47 | |
| 466 }, | |
| 467 { | |
| 468 "nodeType": 3, | |
| 469 "nodeName": "#text", | |
| 470 "nodeValue": "\n", | |
| 471 "backendNodeId": 48 | |
| 472 }, | |
| 473 { | |
| 474 "nodeType": 1, | |
| 475 "nodeName": "BODY", | |
| 476 "nodeValue": "", | |
| 477 "backendNodeId": 49, | |
| 478 "childNodeIndexes": [ | |
| 479 48, | |
| 480 49, | |
| 481 51 | |
| 482 ], | |
| 483 "layoutNodeIndex": 21 | |
| 484 }, | |
| 485 { | |
| 486 "nodeType": 3, | |
| 487 "nodeName": "#text", | |
| 488 "nodeValue": "\n", | |
| 489 "backendNodeId": 50 | |
| 490 }, | 342 }, |
| 491 { | 343 { |
| 492 "nodeType": 1, | 344 "nodeType": 1, |
| 493 "nodeName": "DIV", | 345 "nodeName": "DIV", |
| 494 "nodeValue": "", | 346 "nodeValue": "", |
| 495 "backendNodeId": 51, | 347 "backendNodeId": 37, |
| 496 "childNodeIndexes": [ | 348 "childNodeIndexes": [ |
| 497 50 | 349 35, |
| 350 36, |
| 351 38, |
| 352 39, |
| 353 42 |
| 498 ], | 354 ], |
| 499 "attributes": [ | 355 "attributes": [ |
| 500 { | 356 { |
| 501 "name": "style", | |
| 502 "value": "font-family: ahem;" | |
| 503 } | |
| 504 ], | |
| 505 "layoutNodeIndex": 22 | |
| 506 }, | |
| 507 { | |
| 508 "nodeType": 3, | |
| 509 "nodeName": "#text", | |
| 510 "nodeValue": "\nHello from the iframe.\n", | |
| 511 "backendNodeId": 52, | |
| 512 "layoutNodeIndex": 23 | |
| 513 }, | |
| 514 { | |
| 515 "nodeType": 3, | |
| 516 "nodeName": "#text", | |
| 517 "nodeValue": "\n\n\n", | |
| 518 "backendNodeId": 53 | |
| 519 }, | |
| 520 { | |
| 521 "nodeType": 3, | |
| 522 "nodeName": "#text", | |
| 523 "nodeValue": "\n ", | |
| 524 "backendNodeId": 54, | |
| 525 "layoutNodeIndex": 24 | |
| 526 }, | |
| 527 { | |
| 528 "nodeType": 1, | |
| 529 "nodeName": "DIV", | |
| 530 "nodeValue": "", | |
| 531 "backendNodeId": 55, | |
| 532 "childNodeIndexes": [ | |
| 533 54, | |
| 534 55, | |
| 535 57, | |
| 536 58, | |
| 537 61 | |
| 538 ], | |
| 539 "attributes": [ | |
| 540 { | |
| 541 "name": "id", | 357 "name": "id", |
| 542 "value": "shadow-host" | 358 "value": "shadow-host" |
| 543 } | 359 } |
| 544 ], | 360 ], |
| 545 "layoutNodeIndex": 25 | 361 "layoutNodeIndex": 21 |
| 546 }, | 362 }, |
| 547 { | 363 { |
| 548 "nodeType": 3, | 364 "nodeType": 3, |
| 549 "nodeName": "#text", | 365 "nodeName": "#text", |
| 550 "nodeValue": "\n", | 366 "nodeValue": "\n", |
| 551 "backendNodeId": 56 | 367 "backendNodeId": 38 |
| 552 }, | 368 }, |
| 553 { | 369 { |
| 554 "nodeType": 1, | 370 "nodeType": 1, |
| 555 "nodeName": "STYLE", | 371 "nodeName": "STYLE", |
| 556 "nodeValue": "", | 372 "nodeValue": "", |
| 557 "backendNodeId": 57, | 373 "backendNodeId": 39, |
| 558 "childNodeIndexes": [ | 374 "childNodeIndexes": [ |
| 559 56 | 375 37 |
| 560 ] | 376 ] |
| 561 }, | 377 }, |
| 562 { | 378 { |
| 563 "nodeType": 3, | 379 "nodeType": 3, |
| 564 "nodeName": "#text", | 380 "nodeName": "#text", |
| 565 "nodeValue": "\n:host {\n color: red;\n}\n", | 381 "nodeValue": "\n:host {\n color: red;\n}\n", |
| 566 "backendNodeId": 58 | 382 "backendNodeId": 40 |
| 567 }, | 383 }, |
| 568 { | 384 { |
| 569 "nodeType": 3, | 385 "nodeType": 3, |
| 570 "nodeName": "#text", | 386 "nodeName": "#text", |
| 571 "nodeValue": "\n", | 387 "nodeValue": "\n", |
| 572 "backendNodeId": 59 | 388 "backendNodeId": 41 |
| 573 }, | 389 }, |
| 574 { | 390 { |
| 575 "nodeType": 1, | 391 "nodeType": 1, |
| 576 "nodeName": "DIV", | 392 "nodeName": "DIV", |
| 577 "nodeValue": "", | 393 "nodeValue": "", |
| 578 "backendNodeId": 60, | 394 "backendNodeId": 42, |
| 579 "childNodeIndexes": [ | 395 "childNodeIndexes": [ |
| 580 59 | 396 40 |
| 581 ], | 397 ], |
| 582 "attributes": [ | 398 "attributes": [ |
| 583 { | 399 { |
| 584 "name": "style", | 400 "name": "style", |
| 585 "value": "font-family: ahem;" | 401 "value": "font-family: ahem;" |
| 586 } | 402 } |
| 587 ], | 403 ], |
| 588 "layoutNodeIndex": 26 | 404 "layoutNodeIndex": 22 |
| 589 }, | 405 }, |
| 590 { | 406 { |
| 591 "nodeType": 1, | 407 "nodeType": 1, |
| 592 "nodeName": "H1", | 408 "nodeName": "H1", |
| 593 "nodeValue": "", | 409 "nodeValue": "", |
| 594 "backendNodeId": 61, | 410 "backendNodeId": 43, |
| 595 "childNodeIndexes": [ | 411 "childNodeIndexes": [ |
| 596 60 | 412 41 |
| 597 ], | 413 ], |
| 598 "layoutNodeIndex": 27 | 414 "layoutNodeIndex": 23 |
| 599 }, | 415 }, |
| 600 { | 416 { |
| 601 "nodeType": 3, | 417 "nodeType": 3, |
| 602 "nodeName": "#text", | 418 "nodeName": "#text", |
| 603 "nodeValue": "Hi!", | 419 "nodeValue": "Hi!", |
| 604 "backendNodeId": 62, | 420 "backendNodeId": 44, |
| 605 "layoutNodeIndex": 28 | 421 "layoutNodeIndex": 24 |
| 606 }, | 422 }, |
| 607 { | 423 { |
| 608 "nodeType": 3, | 424 "nodeType": 3, |
| 609 "nodeName": "#text", | 425 "nodeName": "#text", |
| 610 "nodeValue": "\n", | 426 "nodeValue": "\n", |
| 611 "backendNodeId": 63 | 427 "backendNodeId": 45 |
| 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 }, | 428 }, |
| 640 { | 429 { |
| 641 "nodeType": 3, | 430 "nodeType": 3, |
| 642 "nodeName": "#text", | 431 "nodeName": "#text", |
| 643 "nodeValue": "\n", | 432 "nodeValue": "\n", |
| 644 "backendNodeId": 67 | 433 "backendNodeId": 46 |
| 645 }, | 434 }, |
| 646 { | 435 { |
| 647 "nodeType": 3, | 436 "nodeType": 3, |
| 648 "nodeName": "#text", | 437 "nodeName": "#text", |
| 649 "nodeValue": "\n\n\n", | 438 "nodeValue": "\n\n\n ", |
| 650 "backendNodeId": 68 | 439 "backendNodeId": 47 |
| 651 } | 440 } |
| 652 ], | 441 ], |
| 653 "layoutTreeNodes": [ | 442 "layoutTreeNodes": [ |
| 654 { | 443 { |
| 655 "domNodeIndex": 0, | 444 "domNodeIndex": 0, |
| 656 "boundingBox": { | 445 "boundingBox": { |
| 657 "x": 0, | 446 "x": 0, |
| 658 "y": 0, | 447 "y": 0, |
| 659 "width": 785, | 448 "width": 785, |
| 660 "height": 600 | 449 "height": 600 |
| 661 } | 450 } |
| 662 }, | 451 }, |
| 663 { | 452 { |
| 664 "domNodeIndex": 1, | 453 "domNodeIndex": 1, |
| 665 "boundingBox": { | 454 "boundingBox": { |
| 666 "x": 0, | 455 "x": 0, |
| 667 "y": 0, | 456 "y": 0, |
| 668 "width": 785, | 457 "width": 785, |
| 669 "height": 911 | 458 "height": 911 |
| 670 }, | 459 }, |
| 671 "styleIndex": 0 | 460 "styleIndex": 0 |
| 672 }, | 461 }, |
| 673 { | 462 { |
| 674 "domNodeIndex": 14, | 463 "domNodeIndex": 3, |
| 675 "boundingBox": { | 464 "boundingBox": { |
| 676 "x": 8, | 465 "x": 8, |
| 677 "y": 8, | 466 "y": 8, |
| 678 "width": 769, | 467 "width": 769, |
| 679 "height": 882 | 468 "height": 882 |
| 680 }, | 469 }, |
| 681 "styleIndex": 1 | 470 "styleIndex": 1 |
| 682 }, | 471 }, |
| 683 { | 472 { |
| 684 "domNodeIndex": 16, | 473 "domNodeIndex": 9, |
| 685 "boundingBox": { | 474 "boundingBox": { |
| 686 "x": 8, | 475 "x": 8, |
| 687 "y": 8, | 476 "y": 8, |
| 688 "width": 769, | 477 "width": 769, |
| 689 "height": 882 | 478 "height": 882 |
| 690 }, | 479 }, |
| 691 "styleIndex": 1 | 480 "styleIndex": 1 |
| 692 }, | 481 }, |
| 693 { | 482 { |
| 694 "domNodeIndex": 18, | 483 "domNodeIndex": 11, |
| 695 "boundingBox": { | 484 "boundingBox": { |
| 696 "x": 8, | 485 "x": 8, |
| 697 "y": 8, | 486 "y": 8, |
| 698 "width": 769, | 487 "width": 769, |
| 699 "height": 16 | 488 "height": 16 |
| 700 }, | 489 }, |
| 701 "styleIndex": 2 | 490 "styleIndex": 2 |
| 702 }, | 491 }, |
| 703 { | 492 { |
| 704 "domNodeIndex": 19, | 493 "domNodeIndex": 12, |
| 705 "boundingBox": { | 494 "boundingBox": { |
| 706 "x": 8, | 495 "x": 8, |
| 707 "y": 8, | 496 "y": 8, |
| 708 "width": 144, | 497 "width": 144, |
| 709 "height": 16 | 498 "height": 16 |
| 710 }, | 499 }, |
| 711 "layoutText": "Some Text", | 500 "layoutText": "Some Text", |
| 712 "inlineTextNodes": [ | 501 "inlineTextNodes": [ |
| 713 { | 502 { |
| 714 "boundingBox": { | 503 "boundingBox": { |
| 715 "x": 8, | 504 "x": 8, |
| 716 "y": 8, | 505 "y": 8, |
| 717 "width": 144, | 506 "width": 144, |
| 718 "height": 16 | 507 "height": 16 |
| 719 }, | 508 }, |
| 720 "startCharacterIndex": 0, | 509 "startCharacterIndex": 0, |
| 721 "numCharacters": 9 | 510 "numCharacters": 9 |
| 722 } | 511 } |
| 723 ], | 512 ], |
| 724 "styleIndex": 3 | 513 "styleIndex": 3 |
| 725 }, | 514 }, |
| 726 { | 515 { |
| 727 "domNodeIndex": 20, | 516 "domNodeIndex": 13, |
| 728 "boundingBox": { | 517 "boundingBox": { |
| 729 "x": 8, | 518 "x": 8, |
| 730 "y": 568, | 519 "y": 568, |
| 731 "width": 224, | 520 "width": 224, |
| 732 "height": 16 | 521 "height": 16 |
| 733 }, | 522 }, |
| 734 "layoutText": " And More Text\n ", | 523 "layoutText": " And More Text\n ", |
| 735 "inlineTextNodes": [ | 524 "inlineTextNodes": [ |
| 736 { | 525 { |
| 737 "boundingBox": { | 526 "boundingBox": { |
| 738 "x": 8, | 527 "x": 8, |
| 739 "y": 568, | 528 "y": 568, |
| 740 "width": 224, | 529 "width": 224, |
| 741 "height": 16 | 530 "height": 16 |
| 742 }, | 531 }, |
| 743 "startCharacterIndex": 1, | 532 "startCharacterIndex": 1, |
| 744 "numCharacters": 14 | 533 "numCharacters": 14 |
| 745 } | 534 } |
| 746 ], | 535 ], |
| 747 "styleIndex": 3 | 536 "styleIndex": 3 |
| 748 }, | 537 }, |
| 749 { | 538 { |
| 750 "domNodeIndex": 21, | 539 "domNodeIndex": 14, |
| 751 "boundingBox": { | 540 "boundingBox": { |
| 752 "x": 232, | 541 "x": 232, |
| 753 "y": 24, | 542 "y": 24, |
| 754 "width": 200, | 543 "width": 200, |
| 755 "height": 576 | 544 "height": 576 |
| 756 }, | 545 }, |
| 757 "styleIndex": 4 | 546 "styleIndex": 4 |
| 758 }, | 547 }, |
| 759 { | 548 { |
| 760 "domNodeIndex": 23, | 549 "domNodeIndex": 16, |
| 761 "boundingBox": { | 550 "boundingBox": { |
| 762 "x": 232, | 551 "x": 232, |
| 763 "y": 40, | 552 "y": 40, |
| 764 "width": 200, | 553 "width": 200, |
| 765 "height": 480 | 554 "height": 480 |
| 766 }, | 555 }, |
| 767 "styleIndex": 5 | 556 "styleIndex": 5 |
| 768 }, | 557 }, |
| 769 { | 558 { |
| 770 "domNodeIndex": 24, | 559 "domNodeIndex": 17, |
| 771 "boundingBox": { | 560 "boundingBox": { |
| 772 "x": 232, | 561 "x": 232, |
| 773 "y": 40, | 562 "y": 40, |
| 774 "width": 192, | 563 "width": 192, |
| 775 "height": 480 | 564 "height": 480 |
| 776 }, | 565 }, |
| 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 ", | 566 "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 ", |
| 778 "inlineTextNodes": [ | 567 "inlineTextNodes": [ |
| 779 { | 568 { |
| 780 "boundingBox": { | 569 "boundingBox": { |
| (...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1083 "width": 128, | 872 "width": 128, |
| 1084 "height": 16 | 873 "height": 16 |
| 1085 }, | 874 }, |
| 1086 "startCharacterIndex": 341, | 875 "startCharacterIndex": 341, |
| 1087 "numCharacters": 8 | 876 "numCharacters": 8 |
| 1088 } | 877 } |
| 1089 ], | 878 ], |
| 1090 "styleIndex": 3 | 879 "styleIndex": 3 |
| 1091 }, | 880 }, |
| 1092 { | 881 { |
| 1093 "domNodeIndex": 26, | 882 "domNodeIndex": 19, |
| 1094 "boundingBox": { | 883 "boundingBox": { |
| 1095 "x": 232, | 884 "x": 232, |
| 1096 "y": 536, | 885 "y": 536, |
| 1097 "width": 200, | 886 "width": 200, |
| 1098 "height": 48 | 887 "height": 48 |
| 1099 }, | 888 }, |
| 1100 "styleIndex": 6 | 889 "styleIndex": 6 |
| 1101 }, | 890 }, |
| 1102 { | 891 { |
| 1103 "domNodeIndex": 28, | 892 "domNodeIndex": 21, |
| 1104 "boundingBox": { | 893 "boundingBox": { |
| 1105 "x": 272, | 894 "x": 272, |
| 1106 "y": 536, | 895 "y": 536, |
| 1107 "width": 160, | 896 "width": 160, |
| 1108 "height": 16 | 897 "height": 16 |
| 1109 }, | 898 }, |
| 1110 "styleIndex": 7 | 899 "styleIndex": 7 |
| 1111 }, | 900 }, |
| 1112 { | 901 { |
| 1113 "domNodeIndex": 30, | 902 "domNodeIndex": 23, |
| 1114 "boundingBox": { | 903 "boundingBox": { |
| 1115 "x": 272, | 904 "x": 272, |
| 1116 "y": 552, | 905 "y": 552, |
| 1117 "width": 144, | 906 "width": 144, |
| 1118 "height": 32 | 907 "height": 32 |
| 1119 }, | 908 }, |
| 1120 "styleIndex": 8 | 909 "styleIndex": 8 |
| 1121 }, | 910 }, |
| 1122 { | 911 { |
| 1123 "domNodeIndex": 31, | 912 "domNodeIndex": 24, |
| 1124 "boundingBox": { | 913 "boundingBox": { |
| 1125 "x": 272, | 914 "x": 272, |
| 1126 "y": 552, | 915 "y": 552, |
| 1127 "width": 144, | 916 "width": 144, |
| 1128 "height": 32 | 917 "height": 32 |
| 1129 }, | 918 }, |
| 1130 "layoutText": "Lets have a span", | 919 "layoutText": "Lets have a span", |
| 1131 "inlineTextNodes": [ | 920 "inlineTextNodes": [ |
| 1132 { | 921 { |
| 1133 "boundingBox": { | 922 "boundingBox": { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1146 "width": 96, | 935 "width": 96, |
| 1147 "height": 16 | 936 "height": 16 |
| 1148 }, | 937 }, |
| 1149 "startCharacterIndex": 10, | 938 "startCharacterIndex": 10, |
| 1150 "numCharacters": 6 | 939 "numCharacters": 6 |
| 1151 } | 940 } |
| 1152 ], | 941 ], |
| 1153 "styleIndex": 8 | 942 "styleIndex": 8 |
| 1154 }, | 943 }, |
| 1155 { | 944 { |
| 1156 "domNodeIndex": 32, | 945 "domNodeIndex": 25, |
| 1157 "boundingBox": { | 946 "boundingBox": { |
| 1158 "x": 0, | 947 "x": 0, |
| 1159 "y": 0, | 948 "y": 0, |
| 1160 "width": 0, | 949 "width": 0, |
| 1161 "height": 0 | 950 "height": 0 |
| 1162 }, | 951 }, |
| 1163 "layoutText": "\n ", | 952 "layoutText": "\n ", |
| 1164 "styleIndex": 3 | 953 "styleIndex": 3 |
| 1165 }, | 954 }, |
| 1166 { | 955 { |
| 1167 "domNodeIndex": 34, | 956 "domNodeIndex": 27, |
| 1168 "boundingBox": { | 957 "boundingBox": { |
| 1169 "x": 0, | 958 "x": 0, |
| 1170 "y": 0, | 959 "y": 0, |
| 1171 "width": 0, | 960 "width": 0, |
| 1172 "height": 0 | 961 "height": 0 |
| 1173 }, | 962 }, |
| 1174 "layoutText": "\n ", | 963 "layoutText": "\n ", |
| 1175 "styleIndex": 3 | 964 "styleIndex": 3 |
| 1176 }, | 965 }, |
| 1177 { | 966 { |
| 1178 "domNodeIndex": 35, | 967 "domNodeIndex": 28, |
| 1179 "boundingBox": { | 968 "boundingBox": { |
| 1180 "x": 92, | 969 "x": 92, |
| 1181 "y": 516, | 970 "y": 516, |
| 1182 "width": 32, | 971 "width": 32, |
| 1183 "height": 200 | 972 "height": 200 |
| 1184 }, | 973 }, |
| 1185 "styleIndex": 9 | 974 "styleIndex": 9 |
| 1186 }, | 975 }, |
| 1187 { | 976 { |
| 1188 "domNodeIndex": 36, | 977 "domNodeIndex": 29, |
| 1189 "boundingBox": { | 978 "boundingBox": { |
| 1190 "x": 92, | 979 "x": 92, |
| 1191 "y": 516, | 980 "y": 516, |
| 1192 "width": 32, | 981 "width": 32, |
| 1193 "height": 112 | 982 "height": 112 |
| 1194 }, | 983 }, |
| 1195 "layoutText": "Rotated text!", | 984 "layoutText": "Rotated text!", |
| 1196 "inlineTextNodes": [ | 985 "inlineTextNodes": [ |
| 1197 { | 986 { |
| 1198 "boundingBox": { | 987 "boundingBox": { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 1211 "width": 16, | 1000 "width": 16, |
| 1212 "height": 80 | 1001 "height": 80 |
| 1213 }, | 1002 }, |
| 1214 "startCharacterIndex": 8, | 1003 "startCharacterIndex": 8, |
| 1215 "numCharacters": 5 | 1004 "numCharacters": 5 |
| 1216 } | 1005 } |
| 1217 ], | 1006 ], |
| 1218 "styleIndex": 10 | 1007 "styleIndex": 10 |
| 1219 }, | 1008 }, |
| 1220 { | 1009 { |
| 1221 "domNodeIndex": 38, | 1010 "domNodeIndex": 31, |
| 1222 "boundingBox": { | 1011 "boundingBox": { |
| 1223 "x": 8, | 1012 "x": 8, |
| 1224 "y": 632, | 1013 "y": 632, |
| 1225 "width": 404, | 1014 "width": 404, |
| 1226 "height": 204 | 1015 "height": 204 |
| 1227 }, | 1016 }, |
| 1228 "styleIndex": 11 | 1017 "styleIndex": 11 |
| 1229 }, | 1018 }, |
| 1230 { | 1019 { |
| 1231 "domNodeIndex": 39, | 1020 "domNodeIndex": 32, |
| 1232 "boundingBox": { | 1021 "boundingBox": { |
| 1233 "x": 0, | 1022 "x": 0, |
| 1234 "y": 0, | 1023 "y": 0, |
| 1235 "width": 400, | 1024 "width": 0, |
| 1236 "height": 200 | 1025 "height": 0 |
| 1237 } | 1026 } |
| 1238 }, | 1027 }, |
| 1239 { | 1028 { |
| 1240 "domNodeIndex": 40, | 1029 "domNodeIndex": 33, |
| 1241 "boundingBox": { | |
| 1242 "x": 10, | |
| 1243 "y": 634, | |
| 1244 "width": 400, | |
| 1245 "height": 200 | |
| 1246 }, | |
| 1247 "styleIndex": 12 | |
| 1248 }, | |
| 1249 { | |
| 1250 "domNodeIndex": 47, | |
| 1251 "boundingBox": { | |
| 1252 "x": 18, | |
| 1253 "y": 642, | |
| 1254 "width": 384, | |
| 1255 "height": 184 | |
| 1256 }, | |
| 1257 "styleIndex": 13 | |
| 1258 }, | |
| 1259 { | |
| 1260 "domNodeIndex": 49, | |
| 1261 "boundingBox": { | |
| 1262 "x": 18, | |
| 1263 "y": 642, | |
| 1264 "width": 384, | |
| 1265 "height": 16 | |
| 1266 }, | |
| 1267 "styleIndex": 14 | |
| 1268 }, | |
| 1269 { | |
| 1270 "domNodeIndex": 50, | |
| 1271 "boundingBox": { | |
| 1272 "x": 8, | |
| 1273 "y": 8, | |
| 1274 "width": 352, | |
| 1275 "height": 16 | |
| 1276 }, | |
| 1277 "layoutText": "\nHello from the iframe.\n", | |
| 1278 "inlineTextNodes": [ | |
| 1279 { | |
| 1280 "boundingBox": { | |
| 1281 "x": 8, | |
| 1282 "y": 8, | |
| 1283 "width": 352, | |
| 1284 "height": 16 | |
| 1285 }, | |
| 1286 "startCharacterIndex": 1, | |
| 1287 "numCharacters": 22 | |
| 1288 } | |
| 1289 ], | |
| 1290 "styleIndex": 3 | |
| 1291 }, | |
| 1292 { | |
| 1293 "domNodeIndex": 52, | |
| 1294 "boundingBox": { | 1030 "boundingBox": { |
| 1295 "x": 0, | 1031 "x": 0, |
| 1296 "y": 0, | 1032 "y": 0, |
| 1297 "width": 0, | 1033 "width": 0, |
| 1298 "height": 0 | 1034 "height": 0 |
| 1299 }, | 1035 }, |
| 1300 "layoutText": "\n ", | 1036 "layoutText": "\n ", |
| 1301 "styleIndex": 3 | 1037 "styleIndex": 3 |
| 1302 }, | 1038 }, |
| 1303 { | 1039 { |
| 1304 "domNodeIndex": 53, | 1040 "domNodeIndex": 34, |
| 1305 "boundingBox": { | 1041 "boundingBox": { |
| 1306 "x": 8, | 1042 "x": 8, |
| 1307 "y": 857, | 1043 "y": 857, |
| 1308 "width": 769, | 1044 "width": 769, |
| 1309 "height": 33 | 1045 "height": 33 |
| 1310 }, | 1046 }, |
| 1311 "styleIndex": 15 | 1047 "styleIndex": 12 |
| 1312 }, | 1048 }, |
| 1313 { | 1049 { |
| 1314 "domNodeIndex": 58, | 1050 "domNodeIndex": 39, |
| 1315 "boundingBox": { | 1051 "boundingBox": { |
| 1316 "x": 8, | 1052 "x": 8, |
| 1317 "y": 857, | 1053 "y": 857, |
| 1318 "width": 769, | 1054 "width": 769, |
| 1319 "height": 33 | 1055 "height": 33 |
| 1320 }, | 1056 }, |
| 1321 "styleIndex": 15 | 1057 "styleIndex": 12 |
| 1322 }, | 1058 }, |
| 1323 { | 1059 { |
| 1324 "domNodeIndex": 59, | 1060 "domNodeIndex": 40, |
| 1325 "boundingBox": { | 1061 "boundingBox": { |
| 1326 "x": 8, | 1062 "x": 8, |
| 1327 "y": 857, | 1063 "y": 857, |
| 1328 "width": 769, | 1064 "width": 769, |
| 1329 "height": 33 | 1065 "height": 33 |
| 1330 }, | 1066 }, |
| 1331 "styleIndex": 15 | 1067 "styleIndex": 12 |
| 1332 }, | 1068 }, |
| 1333 { | 1069 { |
| 1334 "domNodeIndex": 60, | 1070 "domNodeIndex": 41, |
| 1335 "boundingBox": { | 1071 "boundingBox": { |
| 1336 "x": 8, | 1072 "x": 8, |
| 1337 "y": 857, | 1073 "y": 857, |
| 1338 "width": 96, | 1074 "width": 96, |
| 1339 "height": 33 | 1075 "height": 33 |
| 1340 }, | 1076 }, |
| 1341 "layoutText": "Hi!", | 1077 "layoutText": "Hi!", |
| 1342 "inlineTextNodes": [ | 1078 "inlineTextNodes": [ |
| 1343 { | 1079 { |
| 1344 "boundingBox": { | 1080 "boundingBox": { |
| 1345 "x": 8, | 1081 "x": 8, |
| 1346 "y": 857.4375, | 1082 "y": 857.4375, |
| 1347 "width": 96, | 1083 "width": 96, |
| 1348 "height": 32 | 1084 "height": 32 |
| 1349 }, | 1085 }, |
| 1350 "startCharacterIndex": 0, | 1086 "startCharacterIndex": 0, |
| 1351 "numCharacters": 3 | 1087 "numCharacters": 3 |
| 1352 } | 1088 } |
| 1353 ], | 1089 ], |
| 1354 "styleIndex": 16 | 1090 "styleIndex": 13 |
| 1355 } | 1091 } |
| 1356 ], | 1092 ], |
| 1357 "computedStyles": [ | 1093 "computedStyles": [ |
| 1358 { | 1094 { |
| 1359 "properties": [ | 1095 "properties": [ |
| 1360 { | 1096 { |
| 1361 "name": "transform", | 1097 "name": "transform", |
| 1362 "value": "none" | 1098 "value": "none" |
| 1363 }, | 1099 }, |
| 1364 { | 1100 { |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1735 }, | 1471 }, |
| 1736 { | 1472 { |
| 1737 "name": "color", | 1473 "name": "color", |
| 1738 "value": "rgb(0, 0, 0)" | 1474 "value": "rgb(0, 0, 0)" |
| 1739 } | 1475 } |
| 1740 ] | 1476 ] |
| 1741 }, | 1477 }, |
| 1742 { | 1478 { |
| 1743 "properties": [ | 1479 "properties": [ |
| 1744 { | 1480 { |
| 1745 "name": "transform", | |
| 1746 "value": "none" | |
| 1747 }, | |
| 1748 { | |
| 1749 "name": "transform-origin", | |
| 1750 "value": "200px 100px" | |
| 1751 }, | |
| 1752 { | |
| 1753 "name": "height", | |
| 1754 "value": "200px" | |
| 1755 }, | |
| 1756 { | |
| 1757 "name": "width", | |
| 1758 "value": "400px" | |
| 1759 }, | |
| 1760 { | |
| 1761 "name": "display", | |
| 1762 "value": "block" | |
| 1763 }, | |
| 1764 { | |
| 1765 "name": "outline-color", | |
| 1766 "value": "rgb(0, 0, 0)" | |
| 1767 }, | |
| 1768 { | |
| 1769 "name": "color", | |
| 1770 "value": "rgb(0, 0, 0)" | |
| 1771 } | |
| 1772 ] | |
| 1773 }, | |
| 1774 { | |
| 1775 "properties": [ | |
| 1776 { | |
| 1777 "name": "transform", | |
| 1778 "value": "none" | |
| 1779 }, | |
| 1780 { | |
| 1781 "name": "transform-origin", | |
| 1782 "value": "192px 92px" | |
| 1783 }, | |
| 1784 { | |
| 1785 "name": "height", | |
| 1786 "value": "184px" | |
| 1787 }, | |
| 1788 { | |
| 1789 "name": "width", | |
| 1790 "value": "384px" | |
| 1791 }, | |
| 1792 { | |
| 1793 "name": "display", | |
| 1794 "value": "block" | |
| 1795 }, | |
| 1796 { | |
| 1797 "name": "outline-color", | |
| 1798 "value": "rgb(0, 0, 0)" | |
| 1799 }, | |
| 1800 { | |
| 1801 "name": "color", | |
| 1802 "value": "rgb(0, 0, 0)" | |
| 1803 } | |
| 1804 ] | |
| 1805 }, | |
| 1806 { | |
| 1807 "properties": [ | |
| 1808 { | |
| 1809 "name": "transform", | |
| 1810 "value": "none" | |
| 1811 }, | |
| 1812 { | |
| 1813 "name": "transform-origin", | |
| 1814 "value": "192px 8px" | |
| 1815 }, | |
| 1816 { | |
| 1817 "name": "height", | |
| 1818 "value": "16px" | |
| 1819 }, | |
| 1820 { | |
| 1821 "name": "width", | |
| 1822 "value": "384px" | |
| 1823 }, | |
| 1824 { | |
| 1825 "name": "display", | |
| 1826 "value": "block" | |
| 1827 }, | |
| 1828 { | |
| 1829 "name": "outline-color", | |
| 1830 "value": "rgb(0, 0, 0)" | |
| 1831 }, | |
| 1832 { | |
| 1833 "name": "color", | |
| 1834 "value": "rgb(0, 0, 0)" | |
| 1835 } | |
| 1836 ] | |
| 1837 }, | |
| 1838 { | |
| 1839 "properties": [ | |
| 1840 { | |
| 1841 "name": "transform", | 1481 "name": "transform", |
| 1842 "value": "none" | 1482 "value": "none" |
| 1843 }, | 1483 }, |
| 1844 { | 1484 { |
| 1845 "name": "transform-origin", | 1485 "name": "transform-origin", |
| 1846 "value": "384.5px 16px" | 1486 "value": "384.5px 16px" |
| 1847 }, | 1487 }, |
| 1848 { | 1488 { |
| 1849 "name": "height", | 1489 "name": "height", |
| 1850 "value": "32px" | 1490 "value": "32px" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1895 }, | 1535 }, |
| 1896 { | 1536 { |
| 1897 "name": "color", | 1537 "name": "color", |
| 1898 "value": "rgb(255, 0, 0)" | 1538 "value": "rgb(255, 0, 0)" |
| 1899 } | 1539 } |
| 1900 ] | 1540 ] |
| 1901 } | 1541 } |
| 1902 ] | 1542 ] |
| 1903 } | 1543 } |
| 1904 | 1544 |
| OLD | NEW |