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

227 lines
6.3 KiB
JSON
Raw Normal View History

{
"type": "Document",
"span": {
"start": 1,
"end": 69,
"ctxt": 0
},
"mode": "quirks",
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 69,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 8,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Element",
"span": {
"start": 0,
"end": 69,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 8,
"end": 24,
"ctxt": 0
},
"tagName": "center",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 16,
"end": 17,
"ctxt": 0
},
"value": " "
},
{
"type": "Element",
"span": {
"start": 17,
"end": 24,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 23,
"end": 24,
"ctxt": 0
},
"value": "a"
}
],
"content": null
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 17,
"end": 40,
"ctxt": 0
},
"tagName": "font",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 34,
"end": 39,
"ctxt": 0
},
"tagName": "img",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null
},
{
"type": "Text",
"span": {
"start": 39,
"end": 40,
"ctxt": 0
},
"value": " "
}
],
"content": null
},
{
"type": "Element",
"span": {
"start": 1,
"end": 69,
"ctxt": 0
},
"tagName": "table",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 33,
"end": 39,
"ctxt": 0
},
"value": " "
},
{
"type": "Element",
"span": {
"start": 0,
"end": 69,
"ctxt": 0
},
"tagName": "tbody",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 40,
"end": 60,
"ctxt": 0
},
"tagName": "tr",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 44,
"end": 49,
"ctxt": 0
},
"tagName": "td",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 48,
"end": 49,
"ctxt": 0
},
"value": " "
}
],
"content": null
},
{
"type": "Text",
"span": {
"start": 54,
"end": 60,
"ctxt": 0
},
"value": " "
}
],
"content": null
},
{
"type": "Text",
"span": {
"start": 60,
"end": 69,
"ctxt": 0
},
"value": " "
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
],
"content": null
}
]
}