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

895 lines
27 KiB
JSON
Raw Normal View History

{
"type": "Document",
"span": {
"start": 1,
"end": 951,
"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,
2022-06-07 17:33:06 +03:00
"end": 0,
"ctxt": 0
},
"tagName": "html",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 0,
2022-06-07 17:33:06 +03:00
"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": 951,
"ctxt": 0
},
"tagName": "body",
"namespace": "http://www.w3.org/1999/xhtml",
"attributes": [],
"children": [
{
"type": "Element",
"span": {
"start": 22,
"end": 951,
"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": 179,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "glyphRef",
"rawName": "GLYPHREF",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 180,
"end": 200,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "gradientTransform",
"rawName": "GRADIENTTRANSFORM",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 201,
"end": 217,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "gradientUnits",
"rawName": "GRADIENTUNITS",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 218,
"end": 233,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "kernelMatrix",
"rawName": "KERNELMATRIX",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 234,
"end": 253,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "kernelUnitLength",
"rawName": "KERNELUNITLENGTH",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 254,
"end": 266,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "keyPoints",
"rawName": "KEYPOINTS",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 267,
"end": 280,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "keySplines",
"rawName": "KEYSPLINES",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 281,
"end": 292,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "keyTimes",
"rawName": "KEYTIMES",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 293,
"end": 308,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "lengthAdjust",
"rawName": "LENGTHADJUST",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 309,
"end": 329,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "limitingConeAngle",
"rawName": "LIMITINGCONEANGLE",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 330,
"end": 345,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "markerHeight",
"rawName": "MARKERHEIGHT",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 346,
"end": 360,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "markerUnits",
"rawName": "MARKERUNITS",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 361,
"end": 375,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "markerWidth",
"rawName": "MARKERWIDTH",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 376,
"end": 395,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "maskContentUnits",
"rawName": "MASKCONTENTUNITS",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 396,
"end": 408,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "maskUnits",
"rawName": "MASKUNITS",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 409,
"end": 422,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "numOctaves",
"rawName": "NUMOCTAVES",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 423,
"end": 436,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "pathLength",
"rawName": "PATHLENGTH",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 437,
"end": 459,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "patternContentUnits",
"rawName": "PATTERNCONTENTUNITS",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 460,
"end": 479,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "patternTransform",
"rawName": "PATTERNTRANSFORM",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 480,
"end": 495,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "patternUnits",
"rawName": "PATTERNUNITS",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 496,
"end": 508,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "pointsAtX",
"rawName": "POINTSATX",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 509,
"end": 521,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "pointsAtY",
"rawName": "POINTSATY",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 522,
"end": 534,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "pointsAtZ",
"rawName": "POINTSATZ",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 535,
"end": 551,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "preserveAlpha",
"rawName": "PRESERVEALPHA",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 552,
"end": 574,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "preserveAspectRatio",
"rawName": "PRESERVEASPECTRATIO",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 575,
"end": 592,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "primitiveUnits",
"rawName": "PRIMITIVEUNITS",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 593,
"end": 600,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "refX",
"rawName": "REFX",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 601,
"end": 608,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "refY",
"rawName": "REFY",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 609,
"end": 623,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "repeatCount",
"rawName": "REPEATCOUNT",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 624,
"end": 636,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "repeatDur",
"rawName": "REPEATDUR",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 637,
"end": 658,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "requiredExtensions",
"rawName": "REQUIREDEXTENSIONS",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 659,
"end": 678,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "requiredFeatures",
"rawName": "REQUIREDFEATURES",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 679,
"end": 698,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "specularConstant",
"rawName": "SPECULARCONSTANT",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 699,
"end": 718,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "specularExponent",
"rawName": "SPECULAREXPONENT",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 719,
"end": 734,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "spreadMethod",
"rawName": "SPREADMETHOD",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 735,
"end": 749,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "startOffset",
"rawName": "STARTOFFSET",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 750,
"end": 765,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "stdDeviation",
"rawName": "STDDEVIATION",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 766,
"end": 780,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "stitchTiles",
"rawName": "STITCHTILES",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 781,
"end": 796,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "surfaceScale",
"rawName": "SURFACESCALE",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 797,
"end": 814,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "systemLanguage",
"rawName": "SYSTEMLANGUAGE",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 815,
"end": 829,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "tableValues",
"rawName": "TABLEVALUES",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 830,
"end": 840,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "targetX",
"rawName": "TARGETX",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 841,
"end": 851,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "targetY",
"rawName": "TARGETY",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 852,
"end": 865,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "textLength",
"rawName": "TEXTLENGTH",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 866,
"end": 876,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "viewBox",
"rawName": "VIEWBOX",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 877,
"end": 890,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "viewTarget",
"rawName": "VIEWTARGET",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 891,
"end": 910,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "xChannelSelector",
"rawName": "XCHANNELSELECTOR",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 911,
"end": 930,
"ctxt": 0
},
"namespace": null,
"prefix": null,
"name": "yChannelSelector",
"rawName": "YCHANNELSELECTOR",
"value": "",
"rawValue": "''"
},
{
"type": "Attribute",
"span": {
"start": 931,
"end": 944,
"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
}
]
}