swc/crates/swc_html_parser/tests/html5lib-tests-fixture/webkit01_dat.47.output.json

151 lines
4.4 KiB
JSON

{
"type": "Document",
"span": {
"start": 1,
"end": 60,
"ctxt": 0
},
"mode": "quirks",
"children": [
{
"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": "Element",
"span": {
"start": 1,
"end": 60,
"ctxt": 0
},
"tagName": "math",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 7,
"end": 53,
"ctxt": 0
},
"tagName": "mrow",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 13,
"end": 36,
"ctxt": 0
},
"tagName": "mrow",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 19,
"end": 29,
"ctxt": 0
},
"tagName": "mn",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 23,
"end": 24,
"ctxt": 0
},
"data": "1",
"raw": "1"
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
},
{
"type": "Element",
"span": {
"start": 36,
"end": 46,
"ctxt": 0
},
"tagName": "mi",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [
{
"type": "Text",
"span": {
"start": 40,
"end": 41,
"ctxt": 0
},
"data": "a",
"raw": "a"
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
]
}