swc/crates/swc_html_parser/tests/html5lib-tests-fixture/webkit01_dat/43.json

163 lines
4.6 KiB
JSON

{
"type": "Document",
"span": {
"start": 0,
"end": 56,
"ctxt": 0
},
"mode": "no-quirks",
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 40,
"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": 40,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 40,
"ctxt": 0
},
"tagName": "ul",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 4,
"end": 24,
"ctxt": 0
},
"tagName": "li",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 8,
"end": 24,
"ctxt": 0
},
"tagName": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 0,
"end": 0,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "id",
"value": "foo"
}
],
"children": [
{
"type": "Text",
"span": {
"start": 23,
"end": 24,
"ctxt": 0
},
"value": "A"
}
],
"content": null
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 29,
"end": 40,
"ctxt": 0
},
"tagName": "li",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 33,
"end": 34,
"ctxt": 0
},
"value": "B"
},
{
"type": "Element",
"span": {
"start": 34,
"end": 40,
"ctxt": 0
},
"tagName": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 39,
"end": 40,
"ctxt": 0
},
"value": "C"
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
]
}