swc/crates/swc_css_parser/tests/fixture/vercel/002/output.json

169 lines
4.2 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 77,
"ctxt": 0
},
"rules": [
{
"type": "QualifiedRule",
"span": {
"start": 0,
"end": 77,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 0,
"end": 2,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 0,
"end": 2,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 0,
"end": 2,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "ClassSelector",
"span": {
"start": 0,
"end": 2,
"ctxt": 0
},
"text": {
"type": "Ident",
"span": {
"start": 1,
"end": 2,
"ctxt": 0
},
"value": "a",
"raw": "a"
}
}
]
}
]
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 3,
"end": 77,
"ctxt": 0
},
"name": "{",
"value": [
{
"type": "Declaration",
"span": {
"start": 9,
"end": 74,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 9,
"end": 27,
"ctxt": 0
},
"value": "-webkit-mask-image",
"raw": "-webkit-mask-image"
},
"value": [
{
"type": "Function",
"span": {
"start": 29,
"end": 74,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 29,
"end": 52,
"ctxt": 0
},
"value": "-webkit-radial-gradient",
"raw": "-webkit-radial-gradient"
},
"value": [
{
"type": "Ident",
"span": {
"start": 53,
"end": 59,
"ctxt": 0
},
"value": "circle",
"raw": "circle"
},
{
"type": "Delimiter",
"span": {
"start": 59,
"end": 60,
"ctxt": 0
},
"value": ","
},
{
"type": "Ident",
"span": {
"start": 61,
"end": 66,
"ctxt": 0
},
"value": "white",
"raw": "white"
},
{
"type": "Delimiter",
"span": {
"start": 66,
"end": 67,
"ctxt": 0
},
"value": ","
},
{
"type": "Ident",
"span": {
"start": 68,
"end": 73,
"ctxt": 0
},
"value": "black",
"raw": "black"
}
]
}
],
"important": null
}
]
}
}
]
}