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

163 lines
4.6 KiB
JSON
Raw Normal View History

{
"type": "Document",
"span": {
"start": 1,
"end": 57,
"ctxt": 0
},
"mode": "quirks",
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 41,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 5,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Element",
"span": {
"start": 0,
"end": 41,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 1,
"end": 41,
"ctxt": 0
},
"tagName": "ul",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 5,
"end": 25,
"ctxt": 0
},
"tagName": "li",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 9,
"end": 25,
"ctxt": 0
},
"tagName": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 14,
"end": 22,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "id",
"value": "foo"
}
],
"children": [
{
"type": "Text",
"span": {
"start": 24,
"end": 25,
"ctxt": 0
},
"value": "A"
}
],
"content": null
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 30,
"end": 41,
"ctxt": 0
},
"tagName": "li",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 34,
"end": 35,
"ctxt": 0
},
"value": "B"
},
{
"type": "Element",
"span": {
"start": 35,
"end": 41,
"ctxt": 0
},
"tagName": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 40,
"end": 41,
"ctxt": 0
},
"value": "C"
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
]
}