swc/crates/swc_html_parser/tests/html5lib-tests-fixture/tricky01_dat/5.json

227 lines
6.3 KiB
JSON

{
"type": "Document",
"span": {
"start": 0,
"end": 68,
"ctxt": 0
},
"mode": "no-quirks",
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 68,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 7,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Element",
"span": {
"start": 0,
"end": 68,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 7,
"end": 23,
"ctxt": 0
},
"tagName": "center",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 15,
"end": 16,
"ctxt": 0
},
"value": " "
},
{
"type": "Element",
"span": {
"start": 16,
"end": 23,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 22,
"end": 23,
"ctxt": 0
},
"value": "a"
}
],
"content": null
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 16,
"end": 39,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 33,
"end": 38,
"ctxt": 0
},
"tagName": "img",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Text",
"span": {
"start": 38,
"end": 39,
"ctxt": 0
},
"value": " "
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 0,
"end": 68,
"ctxt": 0
},
"tagName": "table",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 32,
"end": 38,
"ctxt": 0
},
"value": " "
},
{
"type": "Element",
"span": {
"start": 0,
"end": 68,
"ctxt": 0
},
"tagName": "tbody",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 39,
"end": 59,
"ctxt": 0
},
"tagName": "tr",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 43,
"end": 48,
"ctxt": 0
},
"tagName": "td",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 47,
"end": 48,
"ctxt": 0
},
"value": " "
}
],
"content": null
},
{
"type": "Text",
"span": {
"start": 53,
"end": 59,
"ctxt": 0
},
"value": " "
}
],
"content": null
},
{
"type": "Text",
"span": {
"start": 59,
"end": 68,
"ctxt": 0
},
"value": " "
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
]
}