blob: 22008d963067ac2325b985d4cf7365c2cb8d63c1 [file] [log] [blame]
{
"backendNodeId": "?",
"baseURL": "http://127.0.0.1/dom_tree_test.html",
"boundingBox": {
"height": 600.0,
"width": 800.0,
"x": 0.0,
"y": 0.0
},
"childNodeIndexes": [ 1 ],
"documentEncoding": "windows-1252",
"documentURL": "http://127.0.0.1/dom_tree_test.html",
"frameId": "?",
"layoutNodeIndex": 0,
"nodeName": "#document",
"nodeType": 9,
"nodeValue": "",
"scrollOffsetX": 0.0,
"scrollOffsetY": 0.0
}
{
"backendNodeId": "?",
"boundingBox": {
"height": 600.0,
"width": 800.0,
"x": 0.0,
"y": 0.0
},
"childNodeIndexes": [ 2, 9, 10 ],
"frameId": "?",
"layoutNodeIndex": 1,
"nodeName": "HTML",
"nodeType": 1,
"nodeValue": "",
"styleIndex": 0
}
{
"backendNodeId": "?",
"childNodeIndexes": [ 3, 4, 6, 7, 8 ],
"nodeName": "HEAD",
"nodeType": 1,
"nodeValue": ""
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n"
}
{
"backendNodeId": "?",
"childNodeIndexes": [ 5 ],
"nodeName": "TITLE",
"nodeType": 1,
"nodeValue": ""
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "Hello world!"
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n"
}
{
"attributes": [ {
"name": "href",
"value": "dom_tree_test.css"
}, {
"name": "rel",
"value": "stylesheet"
}, {
"name": "type",
"value": "text/css"
} ],
"backendNodeId": "?",
"nodeName": "LINK",
"nodeType": 1,
"nodeValue": ""
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n"
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n"
}
{
"backendNodeId": "?",
"boundingBox": {
"height": 584.0,
"width": 784.0,
"x": 8.0,
"y": 8.0
},
"childNodeIndexes": [ 11, 12 ],
"layoutNodeIndex": 2,
"nodeName": "BODY",
"nodeType": 1,
"nodeValue": "",
"styleIndex": 1
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n"
}
{
"attributes": [ {
"name": "id",
"value": "id1"
} ],
"backendNodeId": "?",
"boundingBox": {
"height": 353.4375,
"width": 784.0,
"x": 8.0,
"y": 8.0
},
"childNodeIndexes": [ 13, 14, 16, 17, 26, 27, 49 ],
"layoutNodeIndex": 3,
"nodeName": "DIV",
"nodeType": 1,
"nodeValue": "",
"styleIndex": 0
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n"
}
{
"attributes": [ {
"name": "class",
"value": "red"
} ],
"backendNodeId": "?",
"boundingBox": {
"height": 32.0,
"width": 784.0,
"x": 8.0,
"y": 8.0
},
"childNodeIndexes": [ 15 ],
"layoutNodeIndex": 4,
"nodeName": "H1",
"nodeType": 1,
"nodeValue": "",
"styleIndex": 2
}
{
"backendNodeId": "?",
"boundingBox": {
"height": 32.0,
"width": 320.0,
"x": 8.0,
"y": 8.0
},
"inlineTextNodes": [ {
"boundingBox": {
"height": 32.0,
"width": 320.0,
"x": 8.0,
"y": 8.0
},
"numCharacters": 10,
"startCharacterIndex": 0
} ],
"layoutNodeIndex": 5,
"layoutText": "Some text.",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "Some text.",
"styleIndex": 2
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n"
}
{
"attributes": [ {
"name": "src",
"value": "/iframe.html"
}, {
"name": "width",
"value": "400"
}, {
"name": "height",
"value": "200"
} ],
"backendNodeId": "?",
"boundingBox": {
"height": 204.0,
"width": 404.0,
"x": 8.0,
"y": 61.4375
},
"contentDocumentIndex": 18,
"frameId": "?",
"layoutNodeIndex": 6,
"nodeName": "IFRAME",
"nodeType": 1,
"nodeValue": "",
"styleIndex": 3
}
{
"backendNodeId": "?",
"baseURL": "http://127.0.0.1/iframe.html",
"boundingBox": {
"height": 200.0,
"width": 400.0,
"x": 0.0,
"y": 0.0
},
"childNodeIndexes": [ 19 ],
"documentEncoding": "windows-1252",
"documentURL": "http://127.0.0.1/iframe.html",
"frameId": "?",
"layoutNodeIndex": 7,
"nodeName": "#document",
"nodeType": 9,
"nodeValue": "",
"scrollOffsetX": 0.0,
"scrollOffsetY": 0.0
}
{
"backendNodeId": "?",
"boundingBox": {
"height": 200.0,
"width": 400.0,
"x": 0.0,
"y": 0.0
},
"childNodeIndexes": [ 20, 21 ],
"frameId": "?",
"layoutNodeIndex": 8,
"nodeName": "HTML",
"nodeType": 1,
"nodeValue": "",
"styleIndex": 4
}
{
"backendNodeId": "?",
"nodeName": "HEAD",
"nodeType": 1,
"nodeValue": ""
}
{
"backendNodeId": "?",
"boundingBox": {
"height": 170.5625,
"width": 384.0,
"x": 8.0,
"y": 8.0
},
"childNodeIndexes": [ 22, 23, 25 ],
"layoutNodeIndex": 9,
"nodeName": "BODY",
"nodeType": 1,
"nodeValue": "",
"styleIndex": 5
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n"
}
{
"attributes": [ {
"name": "style",
"value": "font-family: \"SlightHintedTimesNewRoman\", \"Times New Roman\""
}, {
"name": ";\"",
"value": ""
} ],
"backendNodeId": "?",
"boundingBox": {
"height": 37.0,
"width": 384.0,
"x": 8.0,
"y": 8.0
},
"childNodeIndexes": [ 24 ],
"layoutNodeIndex": 10,
"nodeName": "H1",
"nodeType": 1,
"nodeValue": "",
"styleIndex": 6
}
{
"backendNodeId": "?",
"boundingBox": {
"height": 36.0,
"width": 307.734375,
"x": 8.0,
"y": 8.0
},
"inlineTextNodes": [ {
"boundingBox": {
"height": 36.0,
"width": 307.734375,
"x": 8.0,
"y": 8.0
},
"numCharacters": 22,
"startCharacterIndex": 0
} ],
"layoutNodeIndex": 11,
"layoutText": "Hello from the iframe!",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "Hello from the iframe!",
"styleIndex": 6
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n\n\n"
}
{
"backendNodeId": "?",
"boundingBox": {
"height": 0.0,
"width": 0.0,
"x": 0.0,
"y": 0.0
},
"layoutNodeIndex": 12,
"layoutText": "\n",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n",
"styleIndex": 0
}
{
"attributes": [ {
"name": "id",
"value": "id2"
} ],
"backendNodeId": "?",
"boundingBox": {
"height": 96.0,
"width": 784.0,
"x": 8.0,
"y": 265.4375
},
"childNodeIndexes": [ 28, 29, 48 ],
"layoutNodeIndex": 13,
"nodeName": "DIV",
"nodeType": 1,
"nodeValue": "",
"styleIndex": 0
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n "
}
{
"attributes": [ {
"name": "id",
"value": "id3"
} ],
"backendNodeId": "?",
"boundingBox": {
"height": 96.0,
"width": 784.0,
"x": 8.0,
"y": 265.4375
},
"childNodeIndexes": [ 30, 31, 47 ],
"layoutNodeIndex": 14,
"nodeName": "DIV",
"nodeType": 1,
"nodeValue": "",
"styleIndex": 0
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n "
}
{
"attributes": [ {
"name": "id",
"value": "id4"
} ],
"backendNodeId": "?",
"boundingBox": {
"height": 96.0,
"width": 784.0,
"x": 8.0,
"y": 265.4375
},
"childNodeIndexes": [ 32, 33, 35, 36, 38, 39, 40, 41, 46 ],
"layoutNodeIndex": 15,
"nodeName": "DIV",
"nodeType": 1,
"nodeValue": "",
"styleIndex": 0
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n "
}
{
"attributes": [ {
"name": "href",
"value": "https://www.google.com"
} ],
"backendNodeId": "?",
"boundingBox": {
"height": 16.0,
"width": 112.0,
"x": 8.0,
"y": 265.4375
},
"childNodeIndexes": [ 34 ],
"isClickable": true,
"layoutNodeIndex": 16,
"nodeName": "A",
"nodeType": 1,
"nodeValue": "",
"styleIndex": 7
}
{
"backendNodeId": "?",
"boundingBox": {
"height": 16.0,
"width": 112.0,
"x": 8.0,
"y": 265.4375
},
"inlineTextNodes": [ {
"boundingBox": {
"height": 16.0,
"width": 112.0,
"x": 8.0,
"y": 265.4375
},
"numCharacters": 7,
"startCharacterIndex": 0
} ],
"layoutNodeIndex": 17,
"layoutText": "Google!",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "Google!",
"styleIndex": 7
}
{
"backendNodeId": "?",
"boundingBox": {
"height": 0.0,
"width": 0.0,
"x": 0.0,
"y": 0.0
},
"layoutNodeIndex": 18,
"layoutText": "\n ",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n ",
"styleIndex": 0
}
{
"backendNodeId": "?",
"boundingBox": {
"height": 16.0,
"width": 784.0,
"x": 8.0,
"y": 297.4375
},
"childNodeIndexes": [ 37 ],
"layoutNodeIndex": 19,
"nodeName": "P",
"nodeType": 1,
"nodeValue": "",
"styleIndex": 8
}
{
"backendNodeId": "?",
"boundingBox": {
"height": 16.0,
"width": 192.0,
"x": 8.0,
"y": 297.4375
},
"inlineTextNodes": [ {
"boundingBox": {
"height": 16.0,
"width": 192.0,
"x": 8.0,
"y": 297.4375
},
"numCharacters": 12,
"startCharacterIndex": 0
} ],
"layoutNodeIndex": 20,
"layoutText": "A paragraph!",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "A paragraph!",
"styleIndex": 8
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n "
}
{
"backendNodeId": "?",
"boundingBox": {
"height": 16.0,
"width": 0.0,
"x": 8.0,
"y": 329.4375
},
"inlineTextNodes": [ {
"boundingBox": {
"height": 16.0,
"width": 0.0,
"x": 8.0,
"y": 329.4375
},
"numCharacters": 1,
"startCharacterIndex": 0
} ],
"layoutNodeIndex": 21,
"layoutText": "\n",
"nodeName": "BR",
"nodeType": 1,
"nodeValue": "",
"styleIndex": 3
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n "
}
{
"attributes": [ {
"name": "class",
"value": "green"
} ],
"backendNodeId": "?",
"boundingBox": {
"height": 16.0,
"width": 784.0,
"x": 8.0,
"y": 345.4375
},
"childNodeIndexes": [ 42, 43, 45 ],
"layoutNodeIndex": 22,
"nodeName": "DIV",
"nodeType": 1,
"nodeValue": "",
"styleIndex": 9
}
{
"backendNodeId": "?",
"boundingBox": {
"height": 16.0,
"width": 80.0,
"x": 8.0,
"y": 345.4375
},
"inlineTextNodes": [ {
"boundingBox": {
"height": 16.0,
"width": 80.0,
"x": 8.0,
"y": 345.4375
},
"numCharacters": 5,
"startCharacterIndex": 0
} ],
"layoutNodeIndex": 23,
"layoutText": "Some ",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "Some ",
"styleIndex": 9
}
{
"backendNodeId": "?",
"boundingBox": {
"height": 16.0,
"width": 80.0,
"x": 88.0,
"y": 345.4375
},
"childNodeIndexes": [ 44 ],
"layoutNodeIndex": 24,
"nodeName": "EM",
"nodeType": 1,
"nodeValue": "",
"styleIndex": 10
}
{
"backendNodeId": "?",
"boundingBox": {
"height": 16.0,
"width": 80.0,
"x": 88.0,
"y": 345.4375
},
"inlineTextNodes": [ {
"boundingBox": {
"height": 16.0,
"width": 80.0,
"x": 88.0,
"y": 345.4375
},
"numCharacters": 5,
"startCharacterIndex": 0
} ],
"layoutNodeIndex": 25,
"layoutText": "green",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "green",
"styleIndex": 10
}
{
"backendNodeId": "?",
"boundingBox": {
"height": 16.0,
"width": 128.0,
"x": 168.0,
"y": 345.4375
},
"inlineTextNodes": [ {
"boundingBox": {
"height": 16.0,
"width": 128.0,
"x": 168.0,
"y": 345.4375
},
"numCharacters": 8,
"startCharacterIndex": 0
} ],
"layoutNodeIndex": 26,
"layoutText": " text...",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": " text...",
"styleIndex": 9
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n "
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n "
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n"
}
{
"backendNodeId": "?",
"nodeName": "#text",
"nodeType": 3,
"nodeValue": "\n\n\n"
}