swc/crates/swc_html_parser/tests/html5lib-tests-fixture/tests1_dat/32.json

210 lines
6.8 KiB
JSON

{
"type": "Document",
"span": {
"start": 0,
"end": 71,
"ctxt": 0
},
"mode": "quirks",
"children": [
{
"type": "Comment",
"span": {
"start": 0,
"end": 8,
"ctxt": 0
},
"data": "-"
},
{
"type": "Element",
"span": {
"start": 0,
"end": 71,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 14,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Element",
"span": {
"start": 0,
"end": 71,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 8,
"end": 71,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 14,
"end": 71,
"ctxt": 0
},
"tagName": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 19,
"end": 41,
"ctxt": 0
},
"value": "helloexcite!"
},
{
"type": "Element",
"span": {
"start": 38,
"end": 44,
"ctxt": 0
},
"tagName": "b",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 41,
"end": 44,
"ctxt": 0
},
"value": "me!"
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 24,
"end": 71,
"ctxt": 0
},
"tagName": "table",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 71,
"ctxt": 0
},
"tagName": "tbody",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 58,
"ctxt": 0
},
"tagName": "tr",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 44,
"end": 58,
"ctxt": 0
},
"tagName": "th",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 48,
"end": 58,
"ctxt": 0
},
"tagName": "i",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 51,
"end": 58,
"ctxt": 0
},
"value": "please!"
}
],
"content": null
}
],
"content": null
}
],
"content": null
},
{
"type": "Comment",
"span": {
"start": 63,
"end": 71,
"ctxt": 0
},
"data": "X"
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
]
}