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

895 lines
27 KiB
JSON

{
"type": "Document",
"span": {
"start": 1,
"end": 953,
"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": 953,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 22,
"end": 953,
"ctxt": 0
},
"tagName": "math",
"namespace": "http://www.w3.org/1998/Math/MathML",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 28,
"end": 44,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "attributename",
"rawName": "attributeName",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 45,
"end": 61,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "attributetype",
"rawName": "attributeType",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 62,
"end": 78,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "basefrequency",
"rawName": "baseFrequency",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 79,
"end": 93,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "baseprofile",
"rawName": "baseProfile",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 94,
"end": 105,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "calcmode",
"rawName": "calcMode",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 106,
"end": 122,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "clippathunits",
"rawName": "clipPathUnits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 123,
"end": 141,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "diffuseconstant",
"rawName": "diffuseConstant",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 142,
"end": 153,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "edgemode",
"rawName": "edgeMode",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 154,
"end": 168,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "filterunits",
"rawName": "filterUnits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 169,
"end": 180,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "glyphref",
"rawName": "glyphRef",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 181,
"end": 201,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "gradienttransform",
"rawName": "gradientTransform",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 202,
"end": 218,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "gradientunits",
"rawName": "gradientUnits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 219,
"end": 234,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "kernelmatrix",
"rawName": "kernelMatrix",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 235,
"end": 254,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "kernelunitlength",
"rawName": "kernelUnitLength",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 255,
"end": 267,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "keypoints",
"rawName": "keyPoints",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 268,
"end": 281,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "keysplines",
"rawName": "keySplines",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 282,
"end": 293,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "keytimes",
"rawName": "keyTimes",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 294,
"end": 309,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "lengthadjust",
"rawName": "lengthAdjust",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 310,
"end": 330,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "limitingconeangle",
"rawName": "limitingConeAngle",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 331,
"end": 346,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "markerheight",
"rawName": "markerHeight",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 347,
"end": 361,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "markerunits",
"rawName": "markerUnits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 362,
"end": 376,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "markerwidth",
"rawName": "markerWidth",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 377,
"end": 396,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "maskcontentunits",
"rawName": "maskContentUnits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 397,
"end": 409,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "maskunits",
"rawName": "maskUnits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 410,
"end": 423,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "numoctaves",
"rawName": "numOctaves",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 424,
"end": 437,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "pathlength",
"rawName": "pathLength",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 438,
"end": 460,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "patterncontentunits",
"rawName": "patternContentUnits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 461,
"end": 480,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "patterntransform",
"rawName": "patternTransform",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 481,
"end": 496,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "patternunits",
"rawName": "patternUnits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 497,
"end": 509,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "pointsatx",
"rawName": "pointsAtX",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 510,
"end": 522,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "pointsaty",
"rawName": "pointsAtY",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 523,
"end": 535,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "pointsatz",
"rawName": "pointsAtZ",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 536,
"end": 552,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "preservealpha",
"rawName": "preserveAlpha",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 553,
"end": 575,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "preserveaspectratio",
"rawName": "preserveAspectRatio",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 576,
"end": 593,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "primitiveunits",
"rawName": "primitiveUnits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 594,
"end": 601,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "refx",
"rawName": "refX",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 602,
"end": 609,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "refy",
"rawName": "refY",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 610,
"end": 624,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "repeatcount",
"rawName": "repeatCount",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 625,
"end": 637,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "repeatdur",
"rawName": "repeatDur",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 638,
"end": 659,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "requiredextensions",
"rawName": "requiredExtensions",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 660,
"end": 679,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "requiredfeatures",
"rawName": "requiredFeatures",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 680,
"end": 699,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "specularconstant",
"rawName": "specularConstant",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 700,
"end": 719,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "specularexponent",
"rawName": "specularExponent",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 720,
"end": 735,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "spreadmethod",
"rawName": "spreadMethod",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 736,
"end": 750,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "startoffset",
"rawName": "startOffset",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 751,
"end": 766,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "stddeviation",
"rawName": "stdDeviation",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 767,
"end": 781,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "stitchtiles",
"rawName": "stitchTiles",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 782,
"end": 797,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "surfacescale",
"rawName": "surfaceScale",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 798,
"end": 815,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "systemlanguage",
"rawName": "systemLanguage",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 816,
"end": 830,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "tablevalues",
"rawName": "tableValues",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 831,
"end": 841,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "targetx",
"rawName": "targetX",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 842,
"end": 852,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "targety",
"rawName": "targetY",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 853,
"end": 866,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "textlength",
"rawName": "textLength",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 867,
"end": 877,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "viewbox",
"rawName": "viewBox",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 878,
"end": 891,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "viewtarget",
"rawName": "viewTarget",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 892,
"end": 911,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "xchannelselector",
"rawName": "xChannelSelector",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 912,
"end": 931,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "ychannelselector",
"rawName": "yChannelSelector",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 932,
"end": 945,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "zoomandpan",
"rawName": "zoomAndPan",
"value": "",
"rawValue": "''"
}
],
"children": [],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
],
"content": null,
"isSelfClosing": false
}
]
}