swc/crates/swc_html_parser/tests/html5lib-tests-fixture/tests1_dat/32.json
2022-06-02 04:00:32 +00:00

210 lines
6.8 KiB
JSON

{
"type": "Document",
"span": {
"start": 1,
"end": 72,
"ctxt": 0
},
"mode": "quirks",
"children": [
{
"type": "Comment",
"span": {
"start": 1,
"end": 9,
"ctxt": 0
},
"data": "-"
},
{
"type": "Element",
"span": {
"start": 0,
"end": 72,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 15,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Element",
"span": {
"start": 0,
"end": 72,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 9,
"end": 72,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 15,
"end": 72,
"ctxt": 0
},
"tagName": "div",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 20,
"end": 42,
"ctxt": 0
},
"value": "helloexcite!"
},
{
"type": "Element",
"span": {
"start": 39,
"end": 45,
"ctxt": 0
},
"tagName": "b",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 42,
"end": 45,
"ctxt": 0
},
"value": "me!"
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 25,
"end": 72,
"ctxt": 0
},
"tagName": "table",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 72,
"ctxt": 0
},
"tagName": "tbody",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 64,
"ctxt": 0
},
"tagName": "tr",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 45,
"end": 59,
"ctxt": 0
},
"tagName": "th",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 49,
"end": 59,
"ctxt": 0
},
"tagName": "i",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 52,
"end": 59,
"ctxt": 0
},
"value": "please!"
}
],
"content": null
}
],
"content": null
}
],
"content": null
},
{
"type": "Comment",
"span": {
"start": 64,
"end": 72,
"ctxt": 0
},
"data": "X"
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
]
}