swc/crates/swc_html_parser/tests/html5lib-tests-fixture/html5test-com_dat/18.json

122 lines
3.0 KiB
JSON

{
"type": "Document",
"span": {
"start": 0,
"end": 31,
"ctxt": 0
},
"mode": "no-quirks",
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 21,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 4,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Element",
"span": {
"start": 0,
"end": 21,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 21,
"ctxt": 0
},
"tagName": "ul",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 4,
"end": 10,
"ctxt": 0
},
"tagName": "li",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 8,
"end": 10,
"ctxt": 0
},
"value": "A "
}
],
"content": null
},
{
"type": "Text",
"span": {
"start": 15,
"end": 16,
"ctxt": 0
},
"value": " "
},
{
"type": "Element",
"span": {
"start": 16,
"end": 21,
"ctxt": 0
},
"tagName": "li",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 20,
"end": 21,
"ctxt": 0
},
"value": "B"
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
]
}