swc/css/parser/tests/fixture/esbuild/misc/3OV2jH0hrt2_2jOv6t4wvA/output.json
2021-10-27 03:38:05 +09:00

110 lines
2.4 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 18,
"ctxt": 0
},
"rules": [
{
"type": "StyleRule",
"span": {
"start": 0,
"end": 18,
"ctxt": 0
},
"selectors": [
{
"type": "ComplexSelector",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": {
"type": "NamespacedName",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"prefix": null,
"name": {
"type": "Text",
"span": {
"start": 0,
"end": 1,
"ctxt": 0
},
"value": "a",
"raw": "a"
}
},
"subclassSelectors": []
}
]
}
],
"block": {
"type": "Block",
"span": {
"start": 2,
"end": 18,
"ctxt": 0
},
"items": [
{
"type": "Declaration",
"span": {
"start": 4,
"end": 15,
"ctxt": 0
},
"property": {
"type": "Text",
"span": {
"start": 4,
"end": 9,
"ctxt": 0
},
"value": "width",
"raw": "width"
},
"value": [
{
"type": "PercentValue",
"span": {
"start": 11,
"end": 15,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 11,
"end": 14,
"ctxt": 0
},
"value": 0.1,
"raw": "0.1"
}
}
],
"important": null
}
]
}
}
]
}