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

909 lines
27 KiB
JSON

{
"type": "Document",
"span": {
"start": 1,
"end": 964,
"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": 964,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 22,
"end": 964,
"ctxt": 0
},
"tagName": "svg",
"namespace": "http://www.w3.org/2000/svg",
"attributes": [
{
"type": "Attribute",
"span": {
"start": 27,
"end": 43,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "attributeName",
"rawName": "attributename",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 44,
"end": 60,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "attributeType",
"rawName": "attributetype",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 61,
"end": 77,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "baseFrequency",
"rawName": "basefrequency",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 78,
"end": 92,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "baseProfile",
"rawName": "baseprofile",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 93,
"end": 104,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "calcMode",
"rawName": "calcmode",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 105,
"end": 121,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "clipPathUnits",
"rawName": "clippathunits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 122,
"end": 140,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "diffuseConstant",
"rawName": "diffuseconstant",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 141,
"end": 152,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "edgeMode",
"rawName": "edgemode",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 153,
"end": 167,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "filterUnits",
"rawName": "filterunits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 168,
"end": 180,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "filterres",
"rawName": "filterres",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 181,
"end": 192,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "glyphRef",
"rawName": "glyphref",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 193,
"end": 213,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "gradientTransform",
"rawName": "gradienttransform",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 214,
"end": 230,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "gradientUnits",
"rawName": "gradientunits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 231,
"end": 246,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "kernelMatrix",
"rawName": "kernelmatrix",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 247,
"end": 266,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "kernelUnitLength",
"rawName": "kernelunitlength",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 267,
"end": 279,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "keyPoints",
"rawName": "keypoints",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 280,
"end": 293,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "keySplines",
"rawName": "keysplines",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 294,
"end": 305,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "keyTimes",
"rawName": "keytimes",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 306,
"end": 321,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "lengthAdjust",
"rawName": "lengthadjust",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 322,
"end": 342,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "limitingConeAngle",
"rawName": "limitingconeangle",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 343,
"end": 358,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "markerHeight",
"rawName": "markerheight",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 359,
"end": 373,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "markerUnits",
"rawName": "markerunits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 374,
"end": 388,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "markerWidth",
"rawName": "markerwidth",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 389,
"end": 408,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "maskContentUnits",
"rawName": "maskcontentunits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 409,
"end": 421,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "maskUnits",
"rawName": "maskunits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 422,
"end": 435,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "numOctaves",
"rawName": "numoctaves",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 436,
"end": 449,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "pathLength",
"rawName": "pathlength",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 450,
"end": 472,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "patternContentUnits",
"rawName": "patterncontentunits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 473,
"end": 492,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "patternTransform",
"rawName": "patterntransform",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 493,
"end": 508,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "patternUnits",
"rawName": "patternunits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 509,
"end": 521,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "pointsAtX",
"rawName": "pointsatx",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 522,
"end": 534,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "pointsAtY",
"rawName": "pointsaty",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 535,
"end": 547,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "pointsAtZ",
"rawName": "pointsatz",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 548,
"end": 564,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "preserveAlpha",
"rawName": "preservealpha",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 565,
"end": 587,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "preserveAspectRatio",
"rawName": "preserveaspectratio",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 588,
"end": 605,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "primitiveUnits",
"rawName": "primitiveunits",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 606,
"end": 613,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "refX",
"rawName": "refx",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 614,
"end": 621,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "refY",
"rawName": "refy",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 622,
"end": 636,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "repeatCount",
"rawName": "repeatcount",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 637,
"end": 649,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "repeatDur",
"rawName": "repeatdur",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 650,
"end": 671,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "requiredExtensions",
"rawName": "requiredextensions",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 672,
"end": 691,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "requiredFeatures",
"rawName": "requiredfeatures",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 692,
"end": 711,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "specularConstant",
"rawName": "specularconstant",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 712,
"end": 731,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "specularExponent",
"rawName": "specularexponent",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 732,
"end": 747,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "spreadMethod",
"rawName": "spreadmethod",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 748,
"end": 762,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "startOffset",
"rawName": "startoffset",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 763,
"end": 778,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "stdDeviation",
"rawName": "stddeviation",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 779,
"end": 793,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "stitchTiles",
"rawName": "stitchtiles",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 794,
"end": 809,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "surfaceScale",
"rawName": "surfacescale",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 810,
"end": 827,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "systemLanguage",
"rawName": "systemlanguage",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 828,
"end": 842,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "tableValues",
"rawName": "tablevalues",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 843,
"end": 853,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "targetX",
"rawName": "targetx",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 854,
"end": 864,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "targetY",
"rawName": "targety",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 865,
"end": 878,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "textLength",
"rawName": "textlength",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 879,
"end": 889,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "viewBox",
"rawName": "viewbox",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 890,
"end": 903,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "viewTarget",
"rawName": "viewtarget",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 904,
"end": 923,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "xChannelSelector",
"rawName": "xchannelselector",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 924,
"end": 943,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "yChannelSelector",
"rawName": "ychannelselector",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 944,
"end": 957,
"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
}
]
}