swc/crates/swc_css_parser/tests/fixture/csstree/1/output.json
2022-10-29 08:28:39 +00:00

3710 lines
110 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 17,
"end": 1339,
"ctxt": 0
},
"rules": [
{
"type": "AtRule",
"span": {
"start": 18,
"end": 35,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 19,
"end": 26,
"ctxt": 0
},
"value": "charset",
"raw": "charset"
},
"prelude": {
"type": "String",
"span": {
"start": 27,
"end": 34,
"ctxt": 0
},
"value": "utf-8",
"raw": "'utf-8'"
},
"block": null
},
{
"type": "AtRule",
"span": {
"start": 36,
"end": 68,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 37,
"end": 41,
"ctxt": 0
},
"value": "page",
"raw": "page"
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 42,
"end": 47,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 42,
"end": 47,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 42,
"end": 47,
"ctxt": 0
},
"value": {
"type": "Ident",
"span": {
"start": 43,
"end": 47,
"ctxt": 0
},
"value": "left",
"raw": "left"
}
}
]
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 48,
"end": 68,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 48,
"end": 49,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "Declaration",
"span": {
"start": 54,
"end": 65,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 54,
"end": 60,
"ctxt": 0
},
"value": "margin",
"raw": "margin"
},
"value": [
{
"type": "Length",
"span": {
"start": 62,
"end": 65,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 62,
"end": 63,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
},
"unit": {
"type": "Ident",
"span": {
"start": 63,
"end": 65,
"ctxt": 0
},
"value": "em",
"raw": "em"
}
}
],
"important": null
}
]
}
},
{
"type": "AtRule",
"span": {
"start": 69,
"end": 138,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 70,
"end": 75,
"ctxt": 0
},
"value": "media",
"raw": "media"
},
"prelude": {
"type": "MediaQueryList",
"span": {
"start": 76,
"end": 95,
"ctxt": 0
},
"queries": [
{
"type": "MediaQuery",
"span": {
"start": 76,
"end": 95,
"ctxt": 0
},
"modifier": null,
"mediaType": {
"type": "Ident",
"span": {
"start": 76,
"end": 82,
"ctxt": 0
},
"value": "screen",
"raw": "screen"
},
"keyword": {
"type": "Ident",
"span": {
"start": 83,
"end": 86,
"ctxt": 0
},
"value": "and",
"raw": "and"
},
"condition": {
"type": "MediaConditionWithoutOr",
"span": {
"start": 87,
"end": 95,
"ctxt": 0
},
"conditions": [
{
"type": "MediaFeaturePlain",
"span": {
"start": 87,
"end": 95,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 88,
"end": 91,
"ctxt": 0
},
"value": "foo",
"raw": "foo"
},
"value": {
"type": "Number",
"span": {
"start": 93,
"end": 94,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
}
}
]
}
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 96,
"end": 138,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 96,
"end": 97,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "QualifiedRule",
"span": {
"start": 102,
"end": 136,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 102,
"end": 108,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 102,
"end": 108,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 102,
"end": 108,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "ClassSelector",
"span": {
"start": 102,
"end": 108,
"ctxt": 0
},
"text": {
"type": "Ident",
"span": {
"start": 103,
"end": 108,
"ctxt": 0
},
"value": "class",
"raw": "class"
}
}
]
}
]
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 109,
"end": 136,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 109,
"end": 110,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "Declaration",
"span": {
"start": 119,
"end": 129,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 119,
"end": 124,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "Ident",
"span": {
"start": 126,
"end": 129,
"ctxt": 0
},
"value": "red",
"raw": "red"
}
],
"important": null
}
]
}
}
]
}
},
{
"type": "QualifiedRule",
"span": {
"start": 140,
"end": 748,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 140,
"end": 351,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 140,
"end": 256,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 140,
"end": 147,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "UniversalSelector",
"span": {
"start": 140,
"end": 141,
"ctxt": 0
},
"prefix": null
},
"subclassSelectors": [
{
"type": "ClassSelector",
"span": {
"start": 141,
"end": 147,
"ctxt": 0
},
"text": {
"type": "Ident",
"span": {
"start": 142,
"end": 147,
"ctxt": 0
},
"value": "class",
"raw": "class"
}
}
]
},
{
"type": "Combinator",
"span": {
"start": 147,
"end": 148,
"ctxt": 0
},
"value": " "
},
{
"type": "CompoundSelector",
"span": {
"start": 148,
"end": 164,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "TagNameSelector",
"span": {
"start": 148,
"end": 155,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 148,
"end": 155,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Ident",
"span": {
"start": 148,
"end": 155,
"ctxt": 0
},
"value": "element",
"raw": "element"
}
}
},
"subclassSelectors": [
{
"type": "IdSelector",
"span": {
"start": 155,
"end": 158,
"ctxt": 0
},
"text": {
"type": "Ident",
"span": {
"start": 155,
"end": 158,
"ctxt": 0
},
"value": "id",
"raw": "id"
}
},
{
"type": "AttributeSelector",
"span": {
"start": 158,
"end": 164,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 159,
"end": 163,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Ident",
"span": {
"start": 159,
"end": 163,
"ctxt": 0
},
"value": "attr",
"raw": "attr"
}
},
"matcher": null,
"value": null,
"modifier": null
}
]
},
{
"type": "Combinator",
"span": {
"start": 164,
"end": 165,
"ctxt": 0
},
"value": " "
},
{
"type": "CompoundSelector",
"span": {
"start": 165,
"end": 207,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AttributeSelector",
"span": {
"start": 165,
"end": 178,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 166,
"end": 170,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Ident",
"span": {
"start": 166,
"end": 170,
"ctxt": 0
},
"value": "attr",
"raw": "attr"
}
},
"matcher": {
"type": "AttributeSelectorMatcher",
"span": {
"start": 170,
"end": 172,
"ctxt": 0
},
"value": "|="
},
"value": {
"type": "String",
"span": {
"start": 172,
"end": 177,
"ctxt": 0
},
"value": "asd",
"raw": "\"asd\""
},
"modifier": null
},
{
"type": "AttributeSelector",
"span": {
"start": 178,
"end": 192,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 179,
"end": 183,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Ident",
"span": {
"start": 179,
"end": 183,
"ctxt": 0
},
"value": "attr",
"raw": "attr"
}
},
"matcher": {
"type": "AttributeSelectorMatcher",
"span": {
"start": 183,
"end": 184,
"ctxt": 0
},
"value": "="
},
"value": {
"type": "Ident",
"span": {
"start": 184,
"end": 189,
"ctxt": 0
},
"value": "value",
"raw": "value"
},
"modifier": {
"type": "AttributeSelectorModifier",
"span": {
"start": 190,
"end": 191,
"ctxt": 0
},
"value": {
"type": "Ident",
"span": {
"start": 190,
"end": 191,
"ctxt": 0
},
"value": "i",
"raw": "i"
}
}
},
{
"type": "PseudoClassSelector",
"span": {
"start": 192,
"end": 199,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 193,
"end": 199,
"ctxt": 0
},
"value": "pseudo",
"raw": "pseudo"
},
"children": null
},
{
"type": "PseudoElementSelector",
"span": {
"start": 199,
"end": 207,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 201,
"end": 207,
"ctxt": 0
},
"value": "pseudo",
"raw": "pseudo"
},
"children": null
}
]
},
{
"type": "Combinator",
"span": {
"start": 208,
"end": 209,
"ctxt": 0
},
"value": "~"
},
{
"type": "CompoundSelector",
"span": {
"start": 210,
"end": 220,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "PseudoClassSelector",
"span": {
"start": 210,
"end": 220,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 211,
"end": 214,
"ctxt": 0
},
"value": "not",
"raw": "not"
},
"children": [
{
"type": "SelectorList",
"span": {
"start": 215,
"end": 219,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 215,
"end": 216,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 215,
"end": 216,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "TagNameSelector",
"span": {
"start": 215,
"end": 216,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 215,
"end": 216,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Ident",
"span": {
"start": 215,
"end": 216,
"ctxt": 0
},
"value": "a",
"raw": "a"
}
}
},
"subclassSelectors": []
}
]
},
{
"type": "ComplexSelector",
"span": {
"start": 218,
"end": 219,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 218,
"end": 219,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "TagNameSelector",
"span": {
"start": 218,
"end": 219,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 218,
"end": 219,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Ident",
"span": {
"start": 218,
"end": 219,
"ctxt": 0
},
"value": "b",
"raw": "b"
}
}
},
"subclassSelectors": []
}
]
}
]
}
]
}
]
},
{
"type": "Combinator",
"span": {
"start": 221,
"end": 222,
"ctxt": 0
},
"value": "+"
},
{
"type": "CompoundSelector",
"span": {
"start": 223,
"end": 256,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "PseudoClassSelector",
"span": {
"start": 223,
"end": 238,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 224,
"end": 233,
"ctxt": 0
},
"value": "nth-child",
"raw": "nth-child"
},
"children": [
{
"type": "Ident",
"span": {
"start": 234,
"end": 237,
"ctxt": 0
},
"value": "odd",
"raw": "odd"
}
]
},
{
"type": "PseudoClassSelector",
"span": {
"start": 238,
"end": 256,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 239,
"end": 248,
"ctxt": 0
},
"value": "nth-child",
"raw": "nth-child"
},
"children": [
{
"type": "AnPlusBNotation",
"span": {
"start": 249,
"end": 255,
"ctxt": 0
},
"a": 2,
"aRaw": "2",
"b": 1,
"bRaw": " + 1"
}
]
}
]
}
]
},
{
"type": "ComplexSelector",
"span": {
"start": 258,
"end": 338,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 258,
"end": 286,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "UniversalSelector",
"span": {
"start": 258,
"end": 263,
"ctxt": 0
},
"prefix": {
"type": "NamespacePrefix",
"span": {
"start": 258,
"end": 262,
"ctxt": 0
},
"namespace": {
"type": "NamedNamespace",
"span": {
"start": 258,
"end": 261,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 258,
"end": 261,
"ctxt": 0
},
"value": "svg",
"raw": "svg"
}
}
}
},
"subclassSelectors": [
{
"type": "PseudoClassSelector",
"span": {
"start": 263,
"end": 274,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 264,
"end": 271,
"ctxt": 0
},
"value": "matches",
"raw": "matches"
},
"children": [
{
"type": "SelectorList",
"span": {
"start": 272,
"end": 273,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 272,
"end": 273,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 272,
"end": 273,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "TagNameSelector",
"span": {
"start": 272,
"end": 273,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 272,
"end": 273,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Ident",
"span": {
"start": 272,
"end": 273,
"ctxt": 0
},
"value": "a",
"raw": "a"
}
}
},
"subclassSelectors": []
}
]
}
]
}
]
},
{
"type": "PseudoElementSelector",
"span": {
"start": 274,
"end": 286,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 276,
"end": 283,
"ctxt": 0
},
"value": "slotted",
"raw": "slotted"
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 284,
"end": 285,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "TagNameSelector",
"span": {
"start": 284,
"end": 285,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 284,
"end": 285,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Ident",
"span": {
"start": 284,
"end": 285,
"ctxt": 0
},
"value": "c",
"raw": "c"
}
}
},
"subclassSelectors": []
}
]
}
]
},
{
"type": "Combinator",
"span": {
"start": 287,
"end": 288,
"ctxt": 0
},
"value": ">"
},
{
"type": "CompoundSelector",
"span": {
"start": 289,
"end": 338,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "PseudoClassSelector",
"span": {
"start": 289,
"end": 313,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 290,
"end": 299,
"ctxt": 0
},
"value": "nth-child",
"raw": "nth-child"
},
"children": [
{
"type": "Ident",
"span": {
"start": 300,
"end": 303,
"ctxt": 0
},
"value": "odd",
"raw": "odd"
},
{
"type": "Ident",
"span": {
"start": 304,
"end": 306,
"ctxt": 0
},
"value": "of",
"raw": "of"
},
{
"type": "SelectorList",
"span": {
"start": 307,
"end": 312,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 307,
"end": 308,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 307,
"end": 308,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "TagNameSelector",
"span": {
"start": 307,
"end": 308,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 307,
"end": 308,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Ident",
"span": {
"start": 307,
"end": 308,
"ctxt": 0
},
"value": "a",
"raw": "a"
}
}
},
"subclassSelectors": []
}
]
},
{
"type": "ComplexSelector",
"span": {
"start": 310,
"end": 312,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 310,
"end": 312,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "PseudoClassSelector",
"span": {
"start": 310,
"end": 312,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 311,
"end": 312,
"ctxt": 0
},
"value": "b",
"raw": "b"
},
"children": null
}
]
}
]
}
]
}
]
},
{
"type": "PseudoClassSelector",
"span": {
"start": 313,
"end": 338,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 314,
"end": 323,
"ctxt": 0
},
"value": "nth-child",
"raw": "nth-child"
},
"children": [
{
"type": "AnPlusBNotation",
"span": {
"start": 324,
"end": 330,
"ctxt": 0
},
"a": 2,
"aRaw": "2",
"b": 1,
"bRaw": " + 1"
},
{
"type": "Ident",
"span": {
"start": 331,
"end": 333,
"ctxt": 0
},
"value": "of",
"raw": "of"
},
{
"type": "SelectorList",
"span": {
"start": 334,
"end": 337,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 334,
"end": 337,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 334,
"end": 337,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AttributeSelector",
"span": {
"start": 334,
"end": 337,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 335,
"end": 336,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Ident",
"span": {
"start": 335,
"end": 336,
"ctxt": 0
},
"value": "a",
"raw": "a"
}
},
"matcher": null,
"value": null,
"modifier": null
}
]
}
]
}
]
}
]
}
]
}
]
},
{
"type": "ComplexSelector",
"span": {
"start": 340,
"end": 351,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 340,
"end": 351,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "PseudoClassSelector",
"span": {
"start": 340,
"end": 351,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 341,
"end": 344,
"ctxt": 0
},
"value": "has",
"raw": "has"
},
"children": [
{
"type": "ForgivingRelativeSelectorList",
"span": {
"start": 345,
"end": 350,
"ctxt": 0
},
"children": [
{
"type": "RelativeSelector",
"span": {
"start": 345,
"end": 350,
"ctxt": 0
},
"combinator": {
"type": "Combinator",
"span": {
"start": 345,
"end": 346,
"ctxt": 0
},
"value": ">"
},
"selector": {
"type": "ComplexSelector",
"span": {
"start": 347,
"end": 350,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 347,
"end": 350,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "TagNameSelector",
"span": {
"start": 347,
"end": 350,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 347,
"end": 350,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Ident",
"span": {
"start": 347,
"end": 350,
"ctxt": 0
},
"value": "img",
"raw": "img"
}
}
},
"subclassSelectors": []
}
]
}
}
]
}
]
}
]
}
]
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 352,
"end": 748,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 352,
"end": 353,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "Declaration",
"span": {
"start": 358,
"end": 370,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 358,
"end": 363,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "Ident",
"span": {
"start": 365,
"end": 370,
"ctxt": 0
},
"value": "green",
"raw": "green"
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 532,
"end": 745,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 532,
"end": 542,
"ctxt": 0
},
"value": "background",
"raw": "background"
},
"value": [
{
"type": "Ident",
"span": {
"start": 548,
"end": 553,
"ctxt": 0
},
"value": "ident",
"raw": "ident"
},
{
"type": "Number",
"span": {
"start": 554,
"end": 560,
"ctxt": 0
},
"value": 1200.0,
"raw": "1.2e+3"
},
{
"type": "Percentage",
"span": {
"start": 561,
"end": 565,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 561,
"end": 564,
"ctxt": 0
},
"value": 100.0,
"raw": "100"
}
},
{
"type": "Length",
"span": {
"start": 566,
"end": 569,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 566,
"end": 567,
"ctxt": 0
},
"value": 4.0,
"raw": "4"
},
"unit": {
"type": "Ident",
"span": {
"start": 567,
"end": 569,
"ctxt": 0
},
"value": "em",
"raw": "em"
}
},
{
"type": "Delimiter",
"span": {
"start": 569,
"end": 570,
"ctxt": 0
},
"value": "/"
},
{
"type": "Length",
"span": {
"start": 570,
"end": 573,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 570,
"end": 571,
"ctxt": 0
},
"value": 5.0,
"raw": "5"
},
"unit": {
"type": "Ident",
"span": {
"start": 571,
"end": 573,
"ctxt": 0
},
"value": "ex",
"raw": "ex"
}
},
{
"type": "Function",
"span": {
"start": 574,
"end": 592,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 574,
"end": 578,
"ctxt": 0
},
"value": "calc",
"raw": "calc"
},
"value": [
{
"type": "CalcSum",
"span": {
"start": 579,
"end": 591,
"ctxt": 0
},
"expressions": [
{
"type": "CalcProduct",
"span": {
"start": 579,
"end": 582,
"ctxt": 0
},
"expressions": [
{
"type": "Length",
"span": {
"start": 579,
"end": 582,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 579,
"end": 580,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"unit": {
"type": "Ident",
"span": {
"start": 580,
"end": 582,
"ctxt": 0
},
"value": "em",
"raw": "em"
}
}
]
},
{
"type": "CalcOperator",
"span": {
"start": 583,
"end": 584,
"ctxt": 0
},
"value": "+"
},
{
"type": "CalcProduct",
"span": {
"start": 585,
"end": 591,
"ctxt": 0
},
"expressions": [
{
"type": "Percentage",
"span": {
"start": 585,
"end": 587,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 585,
"end": 586,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
}
},
{
"type": "CalcOperator",
"span": {
"start": 588,
"end": 589,
"ctxt": 0
},
"value": "*"
},
{
"type": "Number",
"span": {
"start": 590,
"end": 591,
"ctxt": 0
},
"value": 5.0,
"raw": "5"
}
]
}
]
}
]
},
{
"type": "Delimiter",
"span": {
"start": 592,
"end": 593,
"ctxt": 0
},
"value": ","
},
{
"type": "Url",
"span": {
"start": 598,
"end": 614,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 598,
"end": 601,
"ctxt": 0
},
"value": "url",
"raw": "url"
},
"value": {
"type": "UrlValueRaw",
"span": {
"start": 602,
"end": 613,
"ctxt": 0
},
"value": "path/to.png",
"before": "",
"raw": "path/to.png",
"after": ""
},
"modifiers": null
},
{
"type": "Url",
"span": {
"start": 615,
"end": 637,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 615,
"end": 618,
"ctxt": 0
},
"value": "url",
"raw": "url"
},
"value": {
"type": "String",
"span": {
"start": 620,
"end": 635,
"ctxt": 0
},
"value": "path/test.svg",
"raw": "'path/test.svg'"
},
"modifiers": []
},
{
"type": "UnicodeRange",
"span": {
"start": 642,
"end": 651,
"ctxt": 0
},
"prefix": "u",
"start": "123",
"end": "456"
},
{
"type": "UnicodeRange",
"span": {
"start": 652,
"end": 660,
"ctxt": 0
},
"prefix": "u",
"start": "123???",
"end": null
},
{
"type": "Function",
"span": {
"start": 665,
"end": 681,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 665,
"end": 669,
"ctxt": 0
},
"value": "rgba",
"raw": "rgba"
},
"value": [
{
"type": "Number",
"span": {
"start": 670,
"end": 671,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
{
"type": "Delimiter",
"span": {
"start": 671,
"end": 672,
"ctxt": 0
},
"value": ","
},
{
"type": "Number",
"span": {
"start": 673,
"end": 674,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
},
{
"type": "Delimiter",
"span": {
"start": 674,
"end": 675,
"ctxt": 0
},
"value": ","
},
{
"type": "Number",
"span": {
"start": 676,
"end": 677,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
},
{
"type": "Delimiter",
"span": {
"start": 677,
"end": 678,
"ctxt": 0
},
"value": ","
},
{
"type": "Number",
"span": {
"start": 679,
"end": 680,
"ctxt": 0
},
"value": 4.0,
"raw": "4"
}
]
},
{
"type": "HexColor",
"span": {
"start": 682,
"end": 686,
"ctxt": 0
},
"value": "def",
"raw": "def"
},
{
"type": "HexColor",
"span": {
"start": 687,
"end": 694,
"ctxt": 0
},
"value": "123abc",
"raw": "123abc"
},
{
"type": "String",
"span": {
"start": 695,
"end": 703,
"ctxt": 0
},
"value": "string",
"raw": "\"string\""
},
{
"type": "String",
"span": {
"start": 704,
"end": 712,
"ctxt": 0
},
"value": "string",
"raw": "'string'"
},
{
"type": "SimpleBlock",
"span": {
"start": 713,
"end": 726,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 713,
"end": 714,
"ctxt": 0
},
"token": "LParen"
},
"value": [
{
"type": "Ident",
"span": {
"start": 714,
"end": 725,
"ctxt": 0
},
"value": "parenthesis",
"raw": "parenthesis"
}
]
},
{
"type": "SimpleBlock",
"span": {
"start": 727,
"end": 734,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 727,
"end": 728,
"ctxt": 0
},
"token": "LBracket"
},
"value": [
{
"type": "Ident",
"span": {
"start": 728,
"end": 733,
"ctxt": 0
},
"value": "ident",
"raw": "ident"
}
]
}
],
"important": {
"type": "ImportantFlag",
"span": {
"start": 735,
"end": 745,
"ctxt": 0
},
"value": {
"type": "Ident",
"span": {
"start": 736,
"end": 745,
"ctxt": 0
},
"value": "important",
"raw": "important"
}
}
}
]
}
},
{
"type": "AtRule",
"span": {
"start": 750,
"end": 929,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 751,
"end": 756,
"ctxt": 0
},
"value": "media",
"raw": "media"
},
"prelude": {
"type": "MediaQueryList",
"span": {
"start": 757,
"end": 784,
"ctxt": 0
},
"queries": [
{
"type": "MediaQuery",
"span": {
"start": 757,
"end": 784,
"ctxt": 0
},
"modifier": null,
"mediaType": null,
"keyword": null,
"condition": {
"type": "MediaCondition",
"span": {
"start": 757,
"end": 784,
"ctxt": 0
},
"conditions": [
{
"type": "MediaFeaturePlain",
"span": {
"start": 757,
"end": 784,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 758,
"end": 777,
"ctxt": 0
},
"value": "device-aspect-ratio",
"raw": "device-aspect-ratio"
},
"value": {
"type": "Ratio",
"span": {
"start": 779,
"end": 783,
"ctxt": 0
},
"left": {
"type": "Number",
"span": {
"start": 779,
"end": 781,
"ctxt": 0
},
"value": 16.0,
"raw": "16"
},
"right": {
"type": "Number",
"span": {
"start": 782,
"end": 783,
"ctxt": 0
},
"value": 9.0,
"raw": "9"
}
}
}
]
}
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 785,
"end": 929,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 785,
"end": 786,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "QualifiedRule",
"span": {
"start": 791,
"end": 927,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 791,
"end": 804,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 791,
"end": 804,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 791,
"end": 804,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "TagNameSelector",
"span": {
"start": 791,
"end": 797,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 791,
"end": 797,
"ctxt": 0
},
"prefix": {
"type": "NamespacePrefix",
"span": {
"start": 791,
"end": 793,
"ctxt": 0
},
"namespace": {
"type": "AnyNamespace",
"span": {
"start": 791,
"end": 792,
"ctxt": 0
}
}
},
"value": {
"type": "Ident",
"span": {
"start": 793,
"end": 797,
"ctxt": 0
},
"value": "span",
"raw": "span"
}
}
},
"subclassSelectors": [
{
"type": "PseudoClassSelector",
"span": {
"start": 797,
"end": 804,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 798,
"end": 804,
"ctxt": 0
},
"value": "before",
"raw": "before"
},
"children": null
}
]
}
]
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 805,
"end": 927,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 805,
"end": 806,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "Declaration",
"span": {
"start": 815,
"end": 850,
"ctxt": 0
},
"name": {
"type": "DashedIdent",
"span": {
"start": 815,
"end": 824,
"ctxt": 0
},
"value": "custom1",
"raw": "--custom1"
},
"value": [
{
"type": "SimpleBlock",
"span": {
"start": 826,
"end": 850,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 826,
"end": 827,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "PreservedToken",
"span": {
"start": 827,
"end": 828,
"ctxt": 0
},
"token": {
"WhiteSpace": {
"value": " "
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 828,
"end": 837,
"ctxt": 0
},
"token": {
"Ident": {
"value": "something",
"raw": "something"
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 837,
"end": 838,
"ctxt": 0
},
"token": {
"WhiteSpace": {
"value": " "
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 838,
"end": 839,
"ctxt": 0
},
"token": {
"Delim": {
"value": "!"
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 839,
"end": 848,
"ctxt": 0
},
"token": {
"Ident": {
"value": "important",
"raw": "important"
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 848,
"end": 849,
"ctxt": 0
},
"token": {
"WhiteSpace": {
"value": " "
}
}
}
]
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 860,
"end": 886,
"ctxt": 0
},
"name": {
"type": "DashedIdent",
"span": {
"start": 860,
"end": 869,
"ctxt": 0
},
"value": "custom2",
"raw": "--custom2"
},
"value": [
{
"type": "SimpleBlock",
"span": {
"start": 871,
"end": 875,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 871,
"end": 872,
"ctxt": 0
},
"token": "LParen"
},
"value": [
{
"type": "SimpleBlock",
"span": {
"start": 872,
"end": 874,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 872,
"end": 873,
"ctxt": 0
},
"token": "LBracket"
},
"value": []
}
]
}
],
"important": {
"type": "ImportantFlag",
"span": {
"start": 876,
"end": 886,
"ctxt": 0
},
"value": {
"type": "Ident",
"span": {
"start": 877,
"end": 886,
"ctxt": 0
},
"value": "important",
"raw": "important"
}
}
},
{
"type": "Declaration",
"span": {
"start": 896,
"end": 920,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 896,
"end": 906,
"ctxt": 0
},
"value": "background",
"raw": "background"
},
"value": [
{
"type": "Function",
"span": {
"start": 908,
"end": 920,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 908,
"end": 915,
"ctxt": 0
},
"value": "element",
"raw": "element"
},
"value": [
{
"type": "HexColor",
"span": {
"start": 916,
"end": 919,
"ctxt": 0
},
"value": "id",
"raw": "id"
}
]
}
],
"important": null
}
]
}
}
]
}
},
{
"type": "AtRule",
"span": {
"start": 931,
"end": 1049,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 932,
"end": 940,
"ctxt": 0
},
"value": "supports",
"raw": "supports"
},
"prelude": {
"type": "SupportsCondition",
"span": {
"start": 941,
"end": 979,
"ctxt": 0
},
"conditions": [
{
"type": "Declaration",
"span": {
"start": 942,
"end": 978,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 942,
"end": 952,
"ctxt": 0
},
"value": "box-shadow",
"raw": "box-shadow"
},
"value": [
{
"type": "Length",
"span": {
"start": 954,
"end": 957,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 954,
"end": 955,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"unit": {
"type": "Ident",
"span": {
"start": 955,
"end": 957,
"ctxt": 0
},
"value": "px",
"raw": "px"
}
},
{
"type": "Length",
"span": {
"start": 958,
"end": 961,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 958,
"end": 959,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
},
"unit": {
"type": "Ident",
"span": {
"start": 959,
"end": 961,
"ctxt": 0
},
"value": "px",
"raw": "px"
}
},
{
"type": "Ident",
"span": {
"start": 962,
"end": 967,
"ctxt": 0
},
"value": "black",
"raw": "black"
}
],
"important": {
"type": "ImportantFlag",
"span": {
"start": 968,
"end": 978,
"ctxt": 0
},
"value": {
"type": "Ident",
"span": {
"start": 969,
"end": 978,
"ctxt": 0
},
"value": "important",
"raw": "important"
}
}
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 980,
"end": 1049,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 980,
"end": 981,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "QualifiedRule",
"span": {
"start": 986,
"end": 1047,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 986,
"end": 991,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 986,
"end": 991,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 986,
"end": 991,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "ClassSelector",
"span": {
"start": 986,
"end": 991,
"ctxt": 0
},
"text": {
"type": "Ident",
"span": {
"start": 987,
"end": 991,
"ctxt": 0
},
"value": "rule",
"raw": "rule"
}
}
]
}
]
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 992,
"end": 1047,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 992,
"end": 993,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "Declaration",
"span": {
"start": 1002,
"end": 1040,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 1002,
"end": 1012,
"ctxt": 0
},
"value": "box-shadow",
"raw": "box-shadow"
},
"value": [
{
"type": "Function",
"span": {
"start": 1014,
"end": 1040,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 1014,
"end": 1017,
"ctxt": 0
},
"value": "var",
"raw": "var"
},
"value": [
{
"type": "DashedIdent",
"span": {
"start": 1018,
"end": 1029,
"ctxt": 0
},
"value": "something",
"raw": "--something"
},
{
"type": "Delimiter",
"span": {
"start": 1029,
"end": 1030,
"ctxt": 0
},
"value": ","
},
{
"type": "Ident",
"span": {
"start": 1031,
"end": 1039,
"ctxt": 0
},
"value": "fallback",
"raw": "fallback"
}
]
}
],
"important": null
}
]
}
}
]
}
},
{
"type": "QualifiedRule",
"span": {
"start": 1051,
"end": 1093,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 1051,
"end": 1074,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 1051,
"end": 1074,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 1051,
"end": 1064,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "ClassSelector",
"span": {
"start": 1051,
"end": 1054,
"ctxt": 0
},
"text": {
"type": "Ident",
"span": {
"start": 1052,
"end": 1054,
"ctxt": 0
},
"value": "-a",
"raw": "-a"
}
},
{
"type": "IdSelector",
"span": {
"start": 1054,
"end": 1057,
"ctxt": 0
},
"text": {
"type": "Ident",
"span": {
"start": 1054,
"end": 1057,
"ctxt": 0
},
"value": "-b",
"raw": "-b"
}
},
{
"type": "PseudoClassSelector",
"span": {
"start": 1057,
"end": 1060,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 1058,
"end": 1060,
"ctxt": 0
},
"value": "-c",
"raw": "-c"
},
"children": null
},
{
"type": "PseudoElementSelector",
"span": {
"start": 1060,
"end": 1064,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 1062,
"end": 1064,
"ctxt": 0
},
"value": "-d",
"raw": "-d"
},
"children": null
}
]
},
{
"type": "Combinator",
"span": {
"start": 1064,
"end": 1065,
"ctxt": 0
},
"value": " "
},
{
"type": "CompoundSelector",
"span": {
"start": 1064,
"end": 1074,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AttributeSelector",
"span": {
"start": 1064,
"end": 1068,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 1065,
"end": 1067,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Ident",
"span": {
"start": 1065,
"end": 1067,
"ctxt": 0
},
"value": "-e",
"raw": "-e"
}
},
"matcher": null,
"value": null,
"modifier": null
},
{
"type": "AttributeSelector",
"span": {
"start": 1068,
"end": 1074,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 1069,
"end": 1073,
"ctxt": 0
},
"prefix": {
"type": "NamespacePrefix",
"span": {
"start": 1069,
"end": 1071,
"ctxt": 0
},
"namespace": {
"type": "AnyNamespace",
"span": {
"start": 1069,
"end": 1070,
"ctxt": 0
}
}
},
"value": {
"type": "Ident",
"span": {
"start": 1071,
"end": 1073,
"ctxt": 0
},
"value": "-f",
"raw": "-f"
}
},
"matcher": null,
"value": null,
"modifier": null
}
]
}
]
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 1075,
"end": 1093,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 1075,
"end": 1076,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "Declaration",
"span": {
"start": 1081,
"end": 1090,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 1081,
"end": 1085,
"ctxt": 0
},
"value": "-foo",
"raw": "-foo"
},
"value": [
{
"type": "Integer",
"span": {
"start": 1087,
"end": 1090,
"ctxt": 0
},
"value": 123,
"raw": "123"
}
],
"important": null
}
]
}
},
{
"type": "AtRule",
"span": {
"start": 1118,
"end": 1139,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 1119,
"end": 1125,
"ctxt": 0
},
"value": "import",
"raw": "import"
},
"prelude": {
"type": "ImportPrelude",
"span": {
"start": 1126,
"end": 1138,
"ctxt": 0
},
"href": {
"type": "String",
"span": {
"start": 1126,
"end": 1131,
"ctxt": 0
},
"value": "foo",
"raw": "'foo'"
},
"layerName": null,
"supports": null,
"media": {
"type": "MediaQueryList",
"span": {
"start": 1132,
"end": 1138,
"ctxt": 0
},
"queries": [
{
"type": "MediaQuery",
"span": {
"start": 1132,
"end": 1138,
"ctxt": 0
},
"modifier": null,
"mediaType": {
"type": "Ident",
"span": {
"start": 1132,
"end": 1138,
"ctxt": 0
},
"value": "screen",
"raw": "screen"
},
"keyword": null,
"condition": null
}
]
}
},
"block": null
},
{
"type": "AtRule",
"span": {
"start": 1140,
"end": 1261,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 1141,
"end": 1150,
"ctxt": 0
},
"value": "keyframes",
"raw": "keyframes"
},
"prelude": {
"type": "String",
"span": {
"start": 1151,
"end": 1157,
"ctxt": 0
},
"value": "anim",
"raw": "'anim'"
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 1158,
"end": 1261,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 1158,
"end": 1159,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "KeyframeBlock",
"span": {
"start": 1164,
"end": 1184,
"ctxt": 0
},
"prelude": [
{
"type": "Ident",
"span": {
"start": 1164,
"end": 1168,
"ctxt": 0
},
"value": "from",
"raw": "from"
}
],
"block": {
"type": "SimpleBlock",
"span": {
"start": 1170,
"end": 1184,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 1170,
"end": 1171,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "Declaration",
"span": {
"start": 1172,
"end": 1183,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 1172,
"end": 1177,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "Ident",
"span": {
"start": 1179,
"end": 1182,
"ctxt": 0
},
"value": "red",
"raw": "red"
}
],
"important": null
}
]
}
},
{
"type": "KeyframeBlock",
"span": {
"start": 1189,
"end": 1230,
"ctxt": 0
},
"prelude": [
{
"type": "Percentage",
"span": {
"start": 1189,
"end": 1194,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 1189,
"end": 1193,
"ctxt": 0
},
"value": 50.1,
"raw": "50.1"
}
}
],
"block": {
"type": "SimpleBlock",
"span": {
"start": 1195,
"end": 1230,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 1195,
"end": 1196,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "Declaration",
"span": {
"start": 1197,
"end": 1209,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 1197,
"end": 1202,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "Ident",
"span": {
"start": 1204,
"end": 1209,
"ctxt": 0
},
"value": "green",
"raw": "green"
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 1211,
"end": 1229,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 1211,
"end": 1221,
"ctxt": 0
},
"value": "background",
"raw": "background"
},
"value": [
{
"type": "Ident",
"span": {
"start": 1223,
"end": 1228,
"ctxt": 0
},
"value": "green",
"raw": "green"
}
],
"important": null
}
]
}
},
{
"type": "KeyframeBlock",
"span": {
"start": 1235,
"end": 1259,
"ctxt": 0
},
"prelude": [
{
"type": "Percentage",
"span": {
"start": 1235,
"end": 1239,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 1235,
"end": 1238,
"ctxt": 0
},
"value": 100.0,
"raw": "100"
}
}
],
"block": {
"type": "SimpleBlock",
"span": {
"start": 1241,
"end": 1259,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 1241,
"end": 1242,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "Declaration",
"span": {
"start": 1244,
"end": 1255,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 1244,
"end": 1249,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "Ident",
"span": {
"start": 1251,
"end": 1255,
"ctxt": 0
},
"value": "blue",
"raw": "blue"
}
],
"important": null
}
]
}
}
]
}
},
{
"type": "QualifiedRule",
"span": {
"start": 1263,
"end": 1338,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 1263,
"end": 1278,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 1263,
"end": 1278,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 1263,
"end": 1278,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": {
"type": "TagNameSelector",
"span": {
"start": 1263,
"end": 1269,
"ctxt": 0
},
"name": {
"type": "WqName",
"span": {
"start": 1263,
"end": 1269,
"ctxt": 0
},
"prefix": null,
"value": {
"type": "Ident",
"span": {
"start": 1263,
"end": 1269,
"ctxt": 0
},
"value": "edge ",
"raw": "edge\\ "
}
}
},
"subclassSelectors": [
{
"type": "ClassSelector",
"span": {
"start": 1269,
"end": 1278,
"ctxt": 0
},
"text": {
"type": "Ident",
"span": {
"start": 1270,
"end": 1278,
"ctxt": 0
},
"value": "cؚses",
"raw": "c\\61ases"
}
}
]
}
]
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 1279,
"end": 1338,
"ctxt": 0
},
"name": {
"type": "PreservedToken",
"span": {
"start": 1279,
"end": 1280,
"ctxt": 0
},
"token": "LBrace"
},
"value": [
{
"type": "Declaration",
"span": {
"start": 1285,
"end": 1298,
"ctxt": 0
},
"name": {
"type": "DashedIdent",
"span": {
"start": 1285,
"end": 1296,
"ctxt": 0
},
"value": "empty-var",
"raw": "--empty-var"
},
"value": [],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 1304,
"end": 1314,
"ctxt": 0
},
"name": {
"type": "DashedIdent",
"span": {
"start": 1304,
"end": 1313,
"ctxt": 0
},
"value": "bad-var",
"raw": "--bad-var"
},
"value": [],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 1320,
"end": 1335,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 1320,
"end": 1326,
"ctxt": 0
},
"value": "number",
"raw": "number"
},
"value": [
{
"type": "Number",
"span": {
"start": 1328,
"end": 1331,
"ctxt": 0
},
"value": 0.1,
"raw": "0.1"
},
{
"type": "Number",
"span": {
"start": 1331,
"end": 1333,
"ctxt": 0
},
"value": 0.2,
"raw": ".2"
},
{
"type": "Number",
"span": {
"start": 1333,
"end": 1335,
"ctxt": 0
},
"value": 0.3,
"raw": ".3"
}
],
"important": null
}
]
}
}
]
}