swc/crates/swc_html_parser/tests/html5lib-tests-fixture/tests19_dat.90.output.json

152 lines
3.7 KiB
JSON

{
"type": "Document",
"span": {
"start": 1,
"end": 43,
"ctxt": 0
},
"mode": "no-quirks",
"children": [
{
"type": "DocumentType",
"span": {
"start": 1,
"end": 16,
"ctxt": 0
},
"name": "html",
"publicId": null,
"systemId": null,
"raw": "<!doctype html>"
},
{
"type": "Element",
"span": {
"start": 0,
"end": 0,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
"end": 0,
"ctxt": 0
},
"tagName": "head",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": false
},
{
"type": "Element",
"span": {
"start": 0,
"end": 0,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 16,
"end": 17,
"ctxt": 0
},
"data": "a",
"raw": "a"
},
{
"type": "Element",
"span": {
"start": 17,
"end": 43,
"ctxt": 0
},
"tagName": "i",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 20,
"end": 29,
"ctxt": 0
},
"data": "bc",
"raw": "bc"
},
{
"type": "Element",
"span": {
"start": 29,
"end": 42,
"ctxt": 0
},
"tagName": "b",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 32,
"end": 38,
"ctxt": 0
},
"data": "de",
"raw": "de"
}
],
"content": null,
"isSelfClosing": false
},
{
"type": "Text",
"span": {
"start": 42,
"end": 43,
"ctxt": 0
},
"data": "f",
"raw": "f"
},
{
"type": "Element",
"span": {
"start": 21,
"end": 43,
"ctxt": 0
},
"tagName": "table",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
]
}