swc/crates/swc_css_parser/tests/recovery/vercel/003/output.json

504 lines
13 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 1,
"end": 240,
"ctxt": 0
},
"rules": [
{
"type": "QualifiedRule",
"span": {
"start": 1,
"end": 107,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 1,
"end": 12,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 1,
"end": 12,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 1,
"end": 12,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "ClassSelector",
"span": {
"start": 1,
"end": 12,
"ctxt": 0
},
"text": {
"type": "Ident",
"span": {
"start": 2,
"end": 12,
"ctxt": 0
},
"value": "geist-list",
"raw": "geist-list"
}
}
]
}
]
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 13,
"end": 107,
"ctxt": 0
},
"name": "{",
"value": [
{
"type": "Declaration",
"span": {
"start": 19,
"end": 32,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 19,
"end": 26,
"ctxt": 0
},
"value": "display",
"raw": "display"
},
"value": [
{
"type": "Ident",
"span": {
"start": 28,
"end": 32,
"ctxt": 0
},
"value": "flex",
"raw": "flex"
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 38,
"end": 53,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 38,
"end": 47,
"ctxt": 0
},
"value": "flex-wrap",
"raw": "flex-wrap"
},
"value": [
{
"type": "Ident",
"span": {
"start": 49,
"end": 53,
"ctxt": 0
},
"value": "wrap",
"raw": "wrap"
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 59,
"end": 76,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 59,
"end": 65,
"ctxt": 0
},
"value": "margin",
"raw": "margin"
},
"value": [
{
"type": "Ident",
"span": {
"start": 67,
"end": 76,
"ctxt": 0
},
"value": "__ident__",
"raw": "__ident__"
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 82,
"end": 104,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 82,
"end": 92,
"ctxt": 0
},
"value": "box-sizing",
"raw": "box-sizing"
},
"value": [
{
"type": "Ident",
"span": {
"start": 94,
"end": 104,
"ctxt": 0
},
"value": "border-box",
"raw": "border-box"
}
],
"important": null
}
]
}
},
{
"type": "QualifiedRule",
"span": {
"start": 108,
"end": 239,
"ctxt": 0
},
"prelude": {
"type": "SelectorList",
"span": {
"start": 108,
"end": 147,
"ctxt": 0
},
"children": [
{
"type": "ComplexSelector",
"span": {
"start": 108,
"end": 147,
"ctxt": 0
},
"children": [
{
"type": "CompoundSelector",
"span": {
"start": 108,
"end": 119,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "ClassSelector",
"span": {
"start": 108,
"end": 119,
"ctxt": 0
},
"text": {
"type": "Ident",
"span": {
"start": 109,
"end": 119,
"ctxt": 0
},
"value": "geist-list",
"raw": "geist-list"
}
}
]
},
{
"type": "Combinator",
"span": {
"start": 119,
"end": 120,
"ctxt": 0
},
"value": " "
},
{
"type": "CompoundSelector",
"span": {
"start": 120,
"end": 147,
"ctxt": 0
},
"nestingSelector": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "PseudoClassSelector",
"span": {
"start": 120,
"end": 147,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 121,
"end": 127,
"ctxt": 0
},
"value": "global",
"raw": "global"
},
"children": [
{
"type": "PreservedToken",
"span": {
"start": 128,
"end": 129,
"ctxt": 0
},
"token": {
"Delim": {
"value": ">"
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 129,
"end": 130,
"ctxt": 0
},
"token": {
"WhiteSpace": {
"value": " "
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 130,
"end": 131,
"ctxt": 0
},
"token": {
"Delim": {
"value": "."
}
}
},
{
"type": "PreservedToken",
"span": {
"start": 131,
"end": 146,
"ctxt": 0
},
"token": {
"Ident": {
"value": "geist-list-item",
"raw": "geist-list-item"
}
}
}
]
}
]
}
]
}
]
},
"block": {
"type": "SimpleBlock",
"span": {
"start": 148,
"end": 239,
"ctxt": 0
},
"name": "{",
"value": [
{
"type": "Declaration",
"span": {
"start": 154,
"end": 172,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 154,
"end": 161,
"ctxt": 0
},
"value": "padding",
"raw": "padding"
},
"value": [
{
"type": "Ident",
"span": {
"start": 163,
"end": 172,
"ctxt": 0
},
"value": "__ident__",
"raw": "__ident__"
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 178,
"end": 190,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 178,
"end": 187,
"ctxt": 0
},
"value": "flex-grow",
"raw": "flex-grow"
},
"value": [
{
"type": "Integer",
"span": {
"start": 189,
"end": 190,
"ctxt": 0
},
"value": 0,
"raw": "0"
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 196,
"end": 218,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 196,
"end": 206,
"ctxt": 0
},
"value": "flex-basis",
"raw": "flex-basis"
},
"value": [
{
"type": "Ident",
"span": {
"start": 208,
"end": 217,
"ctxt": 0
},
"value": "__ident__",
"raw": "__ident__"
},
{
"type": "PreservedToken",
"span": {
"start": 217,
"end": 218,
"ctxt": 0
},
"token": {
"Delim": {
"value": "%"
}
}
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 224,
"end": 236,
"ctxt": 0
},
"name": {
"type": "Ident",
"span": {
"start": 224,
"end": 233,
"ctxt": 0
},
"value": "min-width",
"raw": "min-width"
},
"value": [
{
"type": "Integer",
"span": {
"start": 235,
"end": 236,
"ctxt": 0
},
"value": 0,
"raw": "0"
}
],
"important": null
}
]
}
}
]
}