swc/crates/swc_html_parser/tests/html5lib-tests-fixture/adoption01_dat/4.json

168 lines
4.4 KiB
JSON
Raw Normal View History

{
"type": "Document",
"span": {
"start": 0,
"end": 34,
"ctxt": 0
},
"mode": "quirks",
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 28,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 3,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Element",
"span": {
"start": 0,
"end": 28,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 4,
"ctxt": 0
},
"tagName": "a",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 3,
"end": 4,
"ctxt": 0
},
"value": "1"
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 4,
"end": 28,
"ctxt": 0
},
"tagName": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 10,
"ctxt": 0
},
"tagName": "a",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 9,
"end": 10,
"ctxt": 0
},
"value": "2"
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 10,
"end": 21,
"ctxt": 0
},
"tagName": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 16,
"ctxt": 0
},
"tagName": "a",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 15,
"end": 16,
"ctxt": 0
},
"value": "3"
}
],
"content": null
},
{
"type": "Text",
"span": {
"start": 20,
"end": 21,
"ctxt": 0
},
"value": "4"
}
],
"content": null
},
{
"type": "Text",
"span": {
"start": 27,
"end": 28,
"ctxt": 0
},
"value": "5"
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
]
}