swc/css/parser/tests/fixture/esbuild/misc/4WSp4-HbKB-f1GLF00sf6A/output.json
2021-08-19 05:16:32 +00:00

158 lines
3.6 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 25,
"ctxt": 0
},
"rules": [
{
"type": "StyleRule",
"span": {
"start": 0,
"end": 25,
"ctxt": 0
},
"selectors": [
{
"type": "ComplexSelector",
"span": {
"start": 0,
"end": 2,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 0,
"end": 0,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": {
"type": "NamespacedName",
"span": {
"start": 0,
"end": 0,
"ctxt": 0
},
"prefix": null,
"name": {
"type": "Text",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"value": "a"
}
},
"subclassSelectors": []
}
]
}
],
"block": {
"type": "DeclBlock",
"span": {
"start": 2,
"end": 25,
"ctxt": 0
},
"properties": [
{
"type": "Property",
"span": {
"start": 4,
"end": 25,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 4,
"end": 11,
"ctxt": 0
},
"value": "padding"
},
"values": [
{
"type": "Number",
"span": {
"start": 13,
"end": 14,
"ctxt": 0
},
"value": 0.0
},
{
"type": "Number",
"span": {
"start": 15,
"end": 16,
"ctxt": 0
},
"value": 1.0
},
{
"type": "UnitValue",
"span": {
"start": 17,
"end": 17,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 17,
"end": 18,
"ctxt": 0
},
"value": 0.0
},
"unit": {
"span": {
"start": 18,
"end": 20,
"ctxt": 0
},
"kind": null
}
},
{
"type": "UnitValue",
"span": {
"start": 21,
"end": 21,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 21,
"end": 22,
"ctxt": 0
},
"value": 1.0
},
"unit": {
"span": {
"start": 22,
"end": 24,
"ctxt": 0
},
"kind": null
}
}
],
"important": null
}
]
}
}
]
}