swc/css/parser/tests/fixture/esbuild/misc/VOQJsreB5pi_yJysozWgcA/output.json
2021-10-07 20:32:54 +09:00

1536 lines
44 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 611,
"ctxt": 0
},
"rules": [
{
"type": "PageRule",
"span": {
"start": 3,
"end": 29,
"ctxt": 0
},
"prelude": [
{
"span": {
"start": 9,
"end": 15,
"ctxt": 0
},
"ident": null,
"pseudo": {
"type": "Text",
"span": {
"start": 10,
"end": 15,
"ctxt": 0
},
"value": "first",
"raw": "first"
}
}
],
"block": {
"span": {
"start": 16,
"end": 29,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 18,
"end": 27,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 18,
"end": 24,
"ctxt": 0
},
"value": "margin",
"raw": "margin"
},
"values": [
{
"type": "Number",
"span": {
"start": 26,
"end": 27,
"ctxt": 0
},
"value": 0.0
}
],
"important": null
}
]
}
},
{
"type": "PageRule",
"span": {
"start": 32,
"end": 609,
"ctxt": 0
},
"prelude": [],
"block": {
"span": {
"start": 38,
"end": 609,
"ctxt": 0
},
"items": [
{
"type": "NestedPageRule",
"span": {
"start": 43,
"end": 78,
"ctxt": 0
},
"prelude": [
{
"type": "ComplexSelector",
"span": {
"start": 43,
"end": 59,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 43,
"end": 59,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AtSelector",
"span": {
"start": 43,
"end": 59,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 43,
"end": 59,
"ctxt": 0
},
"value": "top-left-corner",
"raw": "top-left-corner"
}
}
]
}
]
}
],
"block": {
"span": {
"start": 60,
"end": 78,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 62,
"end": 76,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 62,
"end": 69,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"values": [
{
"type": "String",
"span": {
"start": 71,
"end": 76,
"ctxt": 0
},
"value": "tlc"
}
],
"important": null
}
]
}
},
{
"type": "NestedPageRule",
"span": {
"start": 82,
"end": 109,
"ctxt": 0
},
"prelude": [
{
"type": "ComplexSelector",
"span": {
"start": 82,
"end": 91,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 82,
"end": 91,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AtSelector",
"span": {
"start": 82,
"end": 91,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 82,
"end": 91,
"ctxt": 0
},
"value": "top-left",
"raw": "top-left"
}
}
]
}
]
}
],
"block": {
"span": {
"start": 92,
"end": 109,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 94,
"end": 107,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 94,
"end": 101,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"values": [
{
"type": "String",
"span": {
"start": 103,
"end": 107,
"ctxt": 0
},
"value": "tl"
}
],
"important": null
}
]
}
},
{
"type": "NestedPageRule",
"span": {
"start": 113,
"end": 142,
"ctxt": 0
},
"prelude": [
{
"type": "ComplexSelector",
"span": {
"start": 113,
"end": 124,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 113,
"end": 124,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AtSelector",
"span": {
"start": 113,
"end": 124,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 113,
"end": 124,
"ctxt": 0
},
"value": "top-center",
"raw": "top-center"
}
}
]
}
]
}
],
"block": {
"span": {
"start": 125,
"end": 142,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 127,
"end": 140,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 127,
"end": 134,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"values": [
{
"type": "String",
"span": {
"start": 136,
"end": 140,
"ctxt": 0
},
"value": "tc"
}
],
"important": null
}
]
}
},
{
"type": "NestedPageRule",
"span": {
"start": 146,
"end": 174,
"ctxt": 0
},
"prelude": [
{
"type": "ComplexSelector",
"span": {
"start": 146,
"end": 156,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 146,
"end": 156,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AtSelector",
"span": {
"start": 146,
"end": 156,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 146,
"end": 156,
"ctxt": 0
},
"value": "top-right",
"raw": "top-right"
}
}
]
}
]
}
],
"block": {
"span": {
"start": 157,
"end": 174,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 159,
"end": 172,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 159,
"end": 166,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"values": [
{
"type": "String",
"span": {
"start": 168,
"end": 172,
"ctxt": 0
},
"value": "tr"
}
],
"important": null
}
]
}
},
{
"type": "NestedPageRule",
"span": {
"start": 178,
"end": 214,
"ctxt": 0
},
"prelude": [
{
"type": "ComplexSelector",
"span": {
"start": 178,
"end": 195,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 178,
"end": 195,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AtSelector",
"span": {
"start": 178,
"end": 195,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 178,
"end": 195,
"ctxt": 0
},
"value": "top-right-corner",
"raw": "top-right-corner"
}
}
]
}
]
}
],
"block": {
"span": {
"start": 196,
"end": 214,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 198,
"end": 212,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 198,
"end": 205,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"values": [
{
"type": "String",
"span": {
"start": 207,
"end": 212,
"ctxt": 0
},
"value": "trc"
}
],
"important": null
}
]
}
},
{
"type": "NestedPageRule",
"span": {
"start": 218,
"end": 256,
"ctxt": 0
},
"prelude": [
{
"type": "ComplexSelector",
"span": {
"start": 218,
"end": 237,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 218,
"end": 237,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AtSelector",
"span": {
"start": 218,
"end": 237,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 218,
"end": 237,
"ctxt": 0
},
"value": "bottom-left-corner",
"raw": "bottom-left-corner"
}
}
]
}
]
}
],
"block": {
"span": {
"start": 238,
"end": 256,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 240,
"end": 254,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 240,
"end": 247,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"values": [
{
"type": "String",
"span": {
"start": 249,
"end": 254,
"ctxt": 0
},
"value": "blc"
}
],
"important": null
}
]
}
},
{
"type": "NestedPageRule",
"span": {
"start": 260,
"end": 290,
"ctxt": 0
},
"prelude": [
{
"type": "ComplexSelector",
"span": {
"start": 260,
"end": 272,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 260,
"end": 272,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AtSelector",
"span": {
"start": 260,
"end": 272,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 260,
"end": 272,
"ctxt": 0
},
"value": "bottom-left",
"raw": "bottom-left"
}
}
]
}
]
}
],
"block": {
"span": {
"start": 273,
"end": 290,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 275,
"end": 288,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 275,
"end": 282,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"values": [
{
"type": "String",
"span": {
"start": 284,
"end": 288,
"ctxt": 0
},
"value": "bl"
}
],
"important": null
}
]
}
},
{
"type": "NestedPageRule",
"span": {
"start": 294,
"end": 326,
"ctxt": 0
},
"prelude": [
{
"type": "ComplexSelector",
"span": {
"start": 294,
"end": 308,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 294,
"end": 308,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AtSelector",
"span": {
"start": 294,
"end": 308,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 294,
"end": 308,
"ctxt": 0
},
"value": "bottom-center",
"raw": "bottom-center"
}
}
]
}
]
}
],
"block": {
"span": {
"start": 309,
"end": 326,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 311,
"end": 324,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 311,
"end": 318,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"values": [
{
"type": "String",
"span": {
"start": 320,
"end": 324,
"ctxt": 0
},
"value": "bc"
}
],
"important": null
}
]
}
},
{
"type": "NestedPageRule",
"span": {
"start": 330,
"end": 361,
"ctxt": 0
},
"prelude": [
{
"type": "ComplexSelector",
"span": {
"start": 330,
"end": 343,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 330,
"end": 343,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AtSelector",
"span": {
"start": 330,
"end": 343,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 330,
"end": 343,
"ctxt": 0
},
"value": "bottom-right",
"raw": "bottom-right"
}
}
]
}
]
}
],
"block": {
"span": {
"start": 344,
"end": 361,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 346,
"end": 359,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 346,
"end": 353,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"values": [
{
"type": "String",
"span": {
"start": 355,
"end": 359,
"ctxt": 0
},
"value": "br"
}
],
"important": null
}
]
}
},
{
"type": "NestedPageRule",
"span": {
"start": 365,
"end": 404,
"ctxt": 0
},
"prelude": [
{
"type": "ComplexSelector",
"span": {
"start": 365,
"end": 385,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 365,
"end": 385,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AtSelector",
"span": {
"start": 365,
"end": 385,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 365,
"end": 385,
"ctxt": 0
},
"value": "bottom-right-corner",
"raw": "bottom-right-corner"
}
}
]
}
]
}
],
"block": {
"span": {
"start": 386,
"end": 404,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 388,
"end": 402,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 388,
"end": 395,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"values": [
{
"type": "String",
"span": {
"start": 397,
"end": 402,
"ctxt": 0
},
"value": "brc"
}
],
"important": null
}
]
}
},
{
"type": "NestedPageRule",
"span": {
"start": 408,
"end": 435,
"ctxt": 0
},
"prelude": [
{
"type": "ComplexSelector",
"span": {
"start": 408,
"end": 417,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 408,
"end": 417,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AtSelector",
"span": {
"start": 408,
"end": 417,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 408,
"end": 417,
"ctxt": 0
},
"value": "left-top",
"raw": "left-top"
}
}
]
}
]
}
],
"block": {
"span": {
"start": 418,
"end": 435,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 420,
"end": 433,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 420,
"end": 427,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"values": [
{
"type": "String",
"span": {
"start": 429,
"end": 433,
"ctxt": 0
},
"value": "lt"
}
],
"important": null
}
]
}
},
{
"type": "NestedPageRule",
"span": {
"start": 439,
"end": 469,
"ctxt": 0
},
"prelude": [
{
"type": "ComplexSelector",
"span": {
"start": 439,
"end": 451,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 439,
"end": 451,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AtSelector",
"span": {
"start": 439,
"end": 451,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 439,
"end": 451,
"ctxt": 0
},
"value": "left-middle",
"raw": "left-middle"
}
}
]
}
]
}
],
"block": {
"span": {
"start": 452,
"end": 469,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 454,
"end": 467,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 454,
"end": 461,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"values": [
{
"type": "String",
"span": {
"start": 463,
"end": 467,
"ctxt": 0
},
"value": "lm"
}
],
"important": null
}
]
}
},
{
"type": "NestedPageRule",
"span": {
"start": 473,
"end": 503,
"ctxt": 0
},
"prelude": [
{
"type": "ComplexSelector",
"span": {
"start": 473,
"end": 485,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 473,
"end": 485,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AtSelector",
"span": {
"start": 473,
"end": 485,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 473,
"end": 485,
"ctxt": 0
},
"value": "left-bottom",
"raw": "left-bottom"
}
}
]
}
]
}
],
"block": {
"span": {
"start": 486,
"end": 503,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 488,
"end": 501,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 488,
"end": 495,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"values": [
{
"type": "String",
"span": {
"start": 497,
"end": 501,
"ctxt": 0
},
"value": "lb"
}
],
"important": null
}
]
}
},
{
"type": "NestedPageRule",
"span": {
"start": 507,
"end": 535,
"ctxt": 0
},
"prelude": [
{
"type": "ComplexSelector",
"span": {
"start": 507,
"end": 517,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 507,
"end": 517,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AtSelector",
"span": {
"start": 507,
"end": 517,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 507,
"end": 517,
"ctxt": 0
},
"value": "right-top",
"raw": "right-top"
}
}
]
}
]
}
],
"block": {
"span": {
"start": 518,
"end": 535,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 520,
"end": 533,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 520,
"end": 527,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"values": [
{
"type": "String",
"span": {
"start": 529,
"end": 533,
"ctxt": 0
},
"value": "rt"
}
],
"important": null
}
]
}
},
{
"type": "NestedPageRule",
"span": {
"start": 539,
"end": 570,
"ctxt": 0
},
"prelude": [
{
"type": "ComplexSelector",
"span": {
"start": 539,
"end": 552,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 539,
"end": 552,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AtSelector",
"span": {
"start": 539,
"end": 552,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 539,
"end": 552,
"ctxt": 0
},
"value": "right-middle",
"raw": "right-middle"
}
}
]
}
]
}
],
"block": {
"span": {
"start": 553,
"end": 570,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 555,
"end": 568,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 555,
"end": 562,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"values": [
{
"type": "String",
"span": {
"start": 564,
"end": 568,
"ctxt": 0
},
"value": "rm"
}
],
"important": null
}
]
}
},
{
"type": "NestedPageRule",
"span": {
"start": 574,
"end": 605,
"ctxt": 0
},
"prelude": [
{
"type": "ComplexSelector",
"span": {
"start": 574,
"end": 587,
"ctxt": 0
},
"selectors": [
{
"type": "CompoundSelector",
"span": {
"start": 574,
"end": 587,
"ctxt": 0
},
"hasNestPrefix": false,
"combinator": null,
"typeSelector": null,
"subclassSelectors": [
{
"type": "AtSelector",
"span": {
"start": 574,
"end": 587,
"ctxt": 0
},
"text": {
"type": "Text",
"span": {
"start": 574,
"end": 587,
"ctxt": 0
},
"value": "right-bottom",
"raw": "right-bottom"
}
}
]
}
]
}
],
"block": {
"span": {
"start": 588,
"end": 605,
"ctxt": 0
},
"items": [
{
"type": "Property",
"span": {
"start": 590,
"end": 603,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 590,
"end": 597,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"values": [
{
"type": "String",
"span": {
"start": 599,
"end": 603,
"ctxt": 0
},
"value": "rb"
}
],
"important": null
}
]
}
}
]
}
}
]
}