swc/crates/swc_html_parser/tests/html5lib-tests-fixture/tests11_dat.11.output.json

587 lines
18 KiB
JSON

{
"type": "Document",
"span": {
"start": 1,
"end": 583,
"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": 16,
"end": 583,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 22,
"end": 583,
"ctxt": 0
},
"tagName": "math",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 28,
"end": 40,
"ctxt": 0
},
"tagName": "altglyph",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 40,
"end": 55,
"ctxt": 0
},
"tagName": "altglyphdef",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 55,
"end": 71,
"ctxt": 0
},
"tagName": "altglyphitem",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 71,
"end": 87,
"ctxt": 0
},
"tagName": "animatecolor",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 87,
"end": 104,
"ctxt": 0
},
"tagName": "animatemotion",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 104,
"end": 124,
"ctxt": 0
},
"tagName": "animatetransform",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 124,
"end": 136,
"ctxt": 0
},
"tagName": "clippath",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 136,
"end": 147,
"ctxt": 0
},
"tagName": "feblend",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 147,
"end": 164,
"ctxt": 0
},
"tagName": "fecolormatrix",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 164,
"end": 187,
"ctxt": 0
},
"tagName": "fecomponenttransfer",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 187,
"end": 202,
"ctxt": 0
},
"tagName": "fecomposite",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 202,
"end": 222,
"ctxt": 0
},
"tagName": "feconvolvematrix",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 222,
"end": 243,
"ctxt": 0
},
"tagName": "fediffuselighting",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 243,
"end": 264,
"ctxt": 0
},
"tagName": "fedisplacementmap",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 264,
"end": 282,
"ctxt": 0
},
"tagName": "fedistantlight",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 282,
"end": 293,
"ctxt": 0
},
"tagName": "feflood",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 293,
"end": 304,
"ctxt": 0
},
"tagName": "fefunca",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 304,
"end": 315,
"ctxt": 0
},
"tagName": "fefuncb",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 315,
"end": 326,
"ctxt": 0
},
"tagName": "fefuncg",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 326,
"end": 337,
"ctxt": 0
},
"tagName": "fefuncr",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 337,
"end": 355,
"ctxt": 0
},
"tagName": "fegaussianblur",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 355,
"end": 366,
"ctxt": 0
},
"tagName": "feimage",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 366,
"end": 377,
"ctxt": 0
},
"tagName": "femerge",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 377,
"end": 392,
"ctxt": 0
},
"tagName": "femergenode",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 392,
"end": 408,
"ctxt": 0
},
"tagName": "femorphology",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 408,
"end": 420,
"ctxt": 0
},
"tagName": "feoffset",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 420,
"end": 436,
"ctxt": 0
},
"tagName": "fepointlight",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 436,
"end": 458,
"ctxt": 0
},
"tagName": "fespecularlighting",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 458,
"end": 473,
"ctxt": 0
},
"tagName": "fespotlight",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 473,
"end": 483,
"ctxt": 0
},
"tagName": "fetile",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 483,
"end": 499,
"ctxt": 0
},
"tagName": "feturbulence",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 499,
"end": 516,
"ctxt": 0
},
"tagName": "foreignobject",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 516,
"end": 528,
"ctxt": 0
},
"tagName": "glyphref",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 528,
"end": 546,
"ctxt": 0
},
"tagName": "lineargradient",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 546,
"end": 564,
"ctxt": 0
},
"tagName": "radialgradient",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
},
{
"type": "Element",
"span": {
"start": 564,
"end": 576,
"ctxt": 0
},
"tagName": "textpath",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [],
"children": [],
"content": null,
"isSelfClosing": true
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
]
}