swc/crates/swc_css_parser/tests/recovery/ie-progid/output.json

567 lines
15 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 242,
"ctxt": 0
},
"rules": [
{
"type": "QualifiedRule",
"span": {
"start": 0,
"end": 241,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "TagNameSelector",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Ident",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"value": "a",
"raw": "a"
}
}
},
"subclassSelectors": []
}
]
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 2,
"end": 241,
"ctxt": 0
},
"name": "{",
"value": [
{
"type": "Declaration",
"span": {
"start": 8,
"end": 119,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 8,
"end": 14,
"ctxt": 0
},
"value": "filter",
"raw": "filter"
},
"value": [
{
"type": "Ident",
"span": {
"start": 15,
"end": 21,
"ctxt": 0
},
"value": "progid",
"raw": "progid"
},
{
"type": "PreservedToken",
"span": {
"start": 21,
"end": 22,
"ctxt": 0
},
"token": "Colon"
},
{
"type": "Ident",
"span": {
"start": 22,
"end": 38,
"ctxt": 0
},
"value": "DXImageTransform",
"raw": "DXImageTransform"
},
{
"type": "PreservedToken",
"span": {
"start": 38,
"end": 39,
"ctxt": 0
},
"token": {
"Delim": {
"value": "."
}
}
},
{
"type": "Ident",
"span": {
"start": 39,
"end": 48,
"ctxt": 0
},
"value": "Microsoft",
"raw": "Microsoft"
},
{
"type": "PreservedToken",
"span": {
"start": 48,
"end": 49,
"ctxt": 0
},
"token": {
"Delim": {
"value": "."
}
}
},
{
"type": "Function",
"span": {
"start": 49,
"end": 119,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 49,
"end": 57,
"ctxt": 0
},
"value": "gradient",
"raw": "gradient"
},
"value": [
{
"type": "Ident",
"span": {
"start": 58,
"end": 71,
"ctxt": 0
},
"value": "startColorstr",
"raw": "startColorstr"
},
{
"type": "PreservedToken",
"span": {
"start": 71,
"end": 72,
"ctxt": 0
},
"token": {
"Delim": {
"value": "="
}
}
},
{
"type": "String",
"span": {
"start": 72,
"end": 81,
"ctxt": 0
},
"value": "#4f4f4f",
"raw": "'#4f4f4f'"
},
{
"type": "Delimiter",
"span": {
"start": 81,
"end": 82,
"ctxt": 0
},
"value": ","
},
{
"type": "Ident",
"span": {
"start": 82,
"end": 93,
"ctxt": 0
},
"value": "endColorstr",
"raw": "endColorstr"
},
{
"type": "PreservedToken",
"span": {
"start": 93,
"end": 94,
"ctxt": 0
},
"token": {
"Delim": {
"value": "="
}
}
},
{
"type": "String",
"span": {
"start": 94,
"end": 103,
"ctxt": 0
},
"value": "#292929",
"raw": "'#292929'"
},
{
"type": "Delimiter",
"span": {
"start": 103,
"end": 104,
"ctxt": 0
},
"value": ","
},
{
"type": "Ident",
"span": {
"start": 104,
"end": 116,
"ctxt": 0
},
"value": "GradientType",
"raw": "GradientType"
},
{
"type": "PreservedToken",
"span": {
"start": 116,
"end": 117,
"ctxt": 0
},
"token": {
"Delim": {
"value": "="
}
}
},
{
"type": "Number",
"span": {
"start": 117,
"end": 118,
"ctxt": 0
},
"value": 0.0,
"raw": "0"
}
]
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 125,
"end": 238,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 125,
"end": 131,
"ctxt": 0
},
"value": "filter",
"raw": "filter"
},
"value": [
{
"type": "Ident",
"span": {
"start": 133,
"end": 139,
"ctxt": 0
},
"value": "progid",
"raw": "progid"
},
{
"type": "PreservedToken",
"span": {
"start": 139,
"end": 140,
"ctxt": 0
},
"token": "Colon"
},
{
"type": "Ident",
"span": {
"start": 140,
"end": 156,
"ctxt": 0
},
"value": "DXImageTransform",
"raw": "DXImageTransform"
},
{
"type": "PreservedToken",
"span": {
"start": 156,
"end": 157,
"ctxt": 0
},
"token": {
"Delim": {
"value": "."
}
}
},
{
"type": "Ident",
"span": {
"start": 157,
"end": 166,
"ctxt": 0
},
"value": "Microsoft",
"raw": "Microsoft"
},
{
"type": "PreservedToken",
"span": {
"start": 166,
"end": 167,
"ctxt": 0
},
"token": {
"Delim": {
"value": "."
}
}
},
{
"type": "Function",
"span": {
"start": 167,
"end": 186,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 167,
"end": 171,
"ctxt": 0
},
"value": "Blur",
"raw": "Blur"
},
"value": [
{
"type": "Ident",
"span": {
"start": 172,
"end": 183,
"ctxt": 0
},
"value": "pixelradius",
"raw": "pixelradius"
},
{
"type": "PreservedToken",
"span": {
"start": 183,
"end": 184,
"ctxt": 0
},
"token": {
"Delim": {
"value": "="
}
}
},
{
"type": "Number",
"span": {
"start": 184,
"end": 185,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
}
]
},
{
"type": "Ident",
"span": {
"start": 187,
"end": 193,
"ctxt": 0
},
"value": "progid",
"raw": "progid"
},
{
"type": "PreservedToken",
"span": {
"start": 193,
"end": 194,
"ctxt": 0
},
"token": "Colon"
},
{
"type": "Ident",
"span": {
"start": 194,
"end": 210,
"ctxt": 0
},
"value": "DXImageTransform",
"raw": "DXImageTransform"
},
{
"type": "PreservedToken",
"span": {
"start": 210,
"end": 211,
"ctxt": 0
},
"token": {
"Delim": {
"value": "."
}
}
},
{
"type": "Ident",
"span": {
"start": 211,
"end": 220,
"ctxt": 0
},
"value": "Microsoft",
"raw": "Microsoft"
},
{
"type": "PreservedToken",
"span": {
"start": 220,
"end": 221,
"ctxt": 0
},
"token": {
"Delim": {
"value": "."
}
}
},
{
"type": "Function",
"span": {
"start": 221,
"end": 238,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 221,
"end": 226,
"ctxt": 0
},
"value": "Wheel",
"raw": "Wheel"
},
"value": [
{
"type": "Ident",
"span": {
"start": 227,
"end": 235,
"ctxt": 0
},
"value": "duration",
"raw": "duration"
},
{
"type": "PreservedToken",
"span": {
"start": 235,
"end": 236,
"ctxt": 0
},
"token": {
"Delim": {
"value": "="
}
}
},
{
"type": "Number",
"span": {
"start": 236,
"end": 237,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
]
}
],
"important": null
}
]
}
}
]
}