swc/crates/swc_css_parser/tests/fixture/at-rule/page/output.json
2022-02-06 20:22:30 +00:00

2140 lines
48 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 1052,
"ctxt": 0
},
"rules": [
{
"type": "PageRule",
"span": {
"start": 0,
"end": 8,
"ctxt": 0
},
"prelude": null,
"block": []
},
{
"type": "PageRule",
"span": {
"start": 9,
"end": 16,
"ctxt": 0
},
"prelude": null,
"block": []
},
{
"type": "PageRule",
"span": {
"start": 17,
"end": 35,
"ctxt": 0
},
"prelude": null,
"block": [
{
"type": "Declaration",
"span": {
"start": 23,
"end": 34,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 23,
"end": 29,
"ctxt": 0
},
"value": "margin",
"raw": "margin"
},
"value": [
{
"type": "Dimension",
"span": {
"start": 31,
"end": 34,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 31,
"end": 32,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"unit": {
"type": "Identifier",
"span": {
"start": 32,
"end": 34,
"ctxt": 0
},
"value": "cm",
"raw": "cm"
}
}
],
"important": null
}
]
},
{
"type": "PageRule",
"span": {
"start": 36,
"end": 55,
"ctxt": 0
},
"prelude": null,
"block": [
{
"type": "Declaration",
"span": {
"start": 43,
"end": 54,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 43,
"end": 49,
"ctxt": 0
},
"value": "margin",
"raw": "margin"
},
"value": [
{
"type": "Dimension",
"span": {
"start": 51,
"end": 54,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 51,
"end": 52,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"unit": {
"type": "Identifier",
"span": {
"start": 52,
"end": 54,
"ctxt": 0
},
"value": "cm",
"raw": "cm"
}
}
],
"important": null
}
]
},
{
"type": "PageRule",
"span": {
"start": 56,
"end": 76,
"ctxt": 0
},
"prelude": null,
"block": [
{
"type": "Declaration",
"span": {
"start": 63,
"end": 74,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 63,
"end": 69,
"ctxt": 0
},
"value": "margin",
"raw": "margin"
},
"value": [
{
"type": "Dimension",
"span": {
"start": 71,
"end": 74,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 71,
"end": 72,
"ctxt": 0
},
"value": 1.0,
"raw": "1"
},
"unit": {
"type": "Identifier",
"span": {
"start": 72,
"end": 74,
"ctxt": 0
},
"value": "cm",
"raw": "cm"
}
}
],
"important": null
}
]
},
{
"type": "PageRule",
"span": {
"start": 77,
"end": 103,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 83,
"end": 89,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 83,
"end": 89,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 83,
"end": 89,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 84,
"end": 89,
"ctxt": 0
},
"value": "first",
"raw": "first"
}
}
]
}
]
},
"block": [
{
"type": "Declaration",
"span": {
"start": 91,
"end": 102,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 91,
"end": 97,
"ctxt": 0
},
"value": "margin",
"raw": "margin"
},
"value": [
{
"type": "Dimension",
"span": {
"start": 99,
"end": 102,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 99,
"end": 100,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
},
"unit": {
"type": "Identifier",
"span": {
"start": 100,
"end": 102,
"ctxt": 0
},
"value": "cm",
"raw": "cm"
}
}
],
"important": null
}
]
},
{
"type": "PageRule",
"span": {
"start": 104,
"end": 131,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 110,
"end": 116,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 110,
"end": 116,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 110,
"end": 116,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 111,
"end": 116,
"ctxt": 0
},
"value": "first",
"raw": "first"
}
}
]
}
]
},
"block": [
{
"type": "Declaration",
"span": {
"start": 118,
"end": 129,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 118,
"end": 124,
"ctxt": 0
},
"value": "margin",
"raw": "margin"
},
"value": [
{
"type": "Dimension",
"span": {
"start": 126,
"end": 129,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 126,
"end": 127,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
},
"unit": {
"type": "Identifier",
"span": {
"start": 127,
"end": 129,
"ctxt": 0
},
"value": "cm",
"raw": "cm"
}
}
],
"important": null
}
]
},
{
"type": "PageRule",
"span": {
"start": 132,
"end": 158,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 138,
"end": 144,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 138,
"end": 144,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 138,
"end": 144,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 139,
"end": 144,
"ctxt": 0
},
"value": "first",
"raw": "first"
}
}
]
}
]
},
"block": [
{
"type": "Declaration",
"span": {
"start": 145,
"end": 156,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 145,
"end": 151,
"ctxt": 0
},
"value": "margin",
"raw": "margin"
},
"value": [
{
"type": "Dimension",
"span": {
"start": 153,
"end": 156,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 153,
"end": 154,
"ctxt": 0
},
"value": 2.0,
"raw": "2"
},
"unit": {
"type": "Identifier",
"span": {
"start": 154,
"end": 156,
"ctxt": 0
},
"value": "cm",
"raw": "cm"
}
}
],
"important": null
}
]
},
{
"type": "PageRule",
"span": {
"start": 159,
"end": 167,
"ctxt": 0
},
"prelude": null,
"block": []
},
{
"type": "PageRule",
"span": {
"start": 168,
"end": 182,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 174,
"end": 179,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 174,
"end": 179,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 174,
"end": 179,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 175,
"end": 179,
"ctxt": 0
},
"value": "left",
"raw": "left"
}
}
]
}
]
},
"block": []
},
{
"type": "PageRule",
"span": {
"start": 183,
"end": 198,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 189,
"end": 195,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 189,
"end": 195,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 189,
"end": 195,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 190,
"end": 195,
"ctxt": 0
},
"value": "right",
"raw": "right"
}
}
]
}
]
},
"block": []
},
{
"type": "PageRule",
"span": {
"start": 199,
"end": 222,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 205,
"end": 219,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 205,
"end": 219,
"ctxt": 0
},
"pageType": {
"type": "PageSelectorType",
"span": {
"start": 205,
"end": 219,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 205,
"end": 219,
"ctxt": 0
},
"value": "LandscapeTable",
"raw": "LandscapeTable"
}
},
"pseudos": null
}
]
},
"block": []
},
{
"type": "PageRule",
"span": {
"start": 223,
"end": 255,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 229,
"end": 252,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 229,
"end": 252,
"ctxt": 0
},
"pageType": {
"type": "PageSelectorType",
"span": {
"start": 229,
"end": 246,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 229,
"end": 246,
"ctxt": 0
},
"value": "CompanyLetterHead",
"raw": "CompanyLetterHead"
}
},
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 246,
"end": 252,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 247,
"end": 252,
"ctxt": 0
},
"value": "first",
"raw": "first"
}
}
]
}
]
},
"block": []
},
{
"type": "PageRule",
"span": {
"start": 291,
"end": 305,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 296,
"end": 302,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 296,
"end": 302,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 296,
"end": 302,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 297,
"end": 302,
"ctxt": 0
},
"value": "first",
"raw": "first"
}
}
]
}
]
},
"block": []
},
{
"type": "PageRule",
"span": {
"start": 306,
"end": 325,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 312,
"end": 322,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 312,
"end": 315,
"ctxt": 0
},
"pageType": {
"type": "PageSelectorType",
"span": {
"start": 312,
"end": 315,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 312,
"end": 315,
"ctxt": 0
},
"value": "toc",
"raw": "toc"
}
},
"pseudos": null
},
{
"type": "PageSelector",
"span": {
"start": 317,
"end": 322,
"ctxt": 0
},
"pageType": {
"type": "PageSelectorType",
"span": {
"start": 317,
"end": 322,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 317,
"end": 322,
"ctxt": 0
},
"value": "index",
"raw": "index"
}
},
"pseudos": null
}
]
},
"block": []
},
{
"type": "PageRule",
"span": {
"start": 326,
"end": 348,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 332,
"end": 344,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 332,
"end": 344,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 332,
"end": 338,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 333,
"end": 338,
"ctxt": 0
},
"value": "blank",
"raw": "blank"
}
},
{
"type": "PageSelectorPseudo",
"span": {
"start": 338,
"end": 344,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 339,
"end": 344,
"ctxt": 0
},
"value": "first",
"raw": "first"
}
}
]
}
]
},
"block": []
},
{
"type": "PageRule",
"span": {
"start": 349,
"end": 397,
"ctxt": 0
},
"prelude": null,
"block": [
{
"type": "PageMarginRule",
"span": {
"start": 361,
"end": 373,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 362,
"end": 370,
"ctxt": 0
},
"value": "top-left",
"raw": "top-left"
},
"block": []
},
{
"type": "PageMarginRule",
"span": {
"start": 378,
"end": 395,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 379,
"end": 392,
"ctxt": 0
},
"value": "bottom-center",
"raw": "bottom-center"
},
"block": []
}
]
},
{
"type": "PageRule",
"span": {
"start": 398,
"end": 428,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 404,
"end": 409,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 404,
"end": 409,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 404,
"end": 409,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 405,
"end": 409,
"ctxt": 0
},
"value": "left",
"raw": "left"
}
}
]
}
]
},
"block": [
{
"type": "PageMarginRule",
"span": {
"start": 412,
"end": 427,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 413,
"end": 424,
"ctxt": 0
},
"value": "left-middle",
"raw": "left-middle"
},
"block": []
}
]
},
{
"type": "PageRule",
"span": {
"start": 429,
"end": 460,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 435,
"end": 441,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 435,
"end": 441,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 435,
"end": 441,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 436,
"end": 441,
"ctxt": 0
},
"value": "right",
"raw": "right"
}
}
]
}
]
},
"block": [
{
"type": "PageMarginRule",
"span": {
"start": 443,
"end": 459,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 444,
"end": 456,
"ctxt": 0
},
"value": "right-middle",
"raw": "right-middle"
},
"block": []
}
]
},
{
"type": "PageRule",
"span": {
"start": 462,
"end": 499,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 468,
"end": 473,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 468,
"end": 473,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 468,
"end": 473,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 469,
"end": 473,
"ctxt": 0
},
"value": "left",
"raw": "left"
}
}
]
}
]
},
"block": [
{
"type": "PageMarginRule",
"span": {
"start": 476,
"end": 498,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 477,
"end": 495,
"ctxt": 0
},
"value": "bottom-left-corner",
"raw": "bottom-left-corner"
},
"block": []
}
]
},
{
"type": "PageRule",
"span": {
"start": 500,
"end": 539,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 506,
"end": 512,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 506,
"end": 512,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 506,
"end": 512,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 507,
"end": 512,
"ctxt": 0
},
"value": "right",
"raw": "right"
}
}
]
}
]
},
"block": [
{
"type": "PageMarginRule",
"span": {
"start": 515,
"end": 538,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 516,
"end": 535,
"ctxt": 0
},
"value": "bottom-right-corner",
"raw": "bottom-right-corner"
},
"block": []
}
]
},
{
"type": "PageRule",
"span": {
"start": 540,
"end": 611,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 546,
"end": 552,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 546,
"end": 552,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 546,
"end": 552,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 547,
"end": 552,
"ctxt": 0
},
"value": "first",
"raw": "first"
}
}
]
}
]
},
"block": [
{
"type": "PageMarginRule",
"span": {
"start": 559,
"end": 581,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 560,
"end": 578,
"ctxt": 0
},
"value": "bottom-left-corner",
"raw": "bottom-left-corner"
},
"block": []
},
{
"type": "PageMarginRule",
"span": {
"start": 586,
"end": 609,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 587,
"end": 606,
"ctxt": 0
},
"value": "bottom-right-corner",
"raw": "bottom-right-corner"
},
"block": []
}
]
},
{
"type": "PageRule",
"span": {
"start": 612,
"end": 620,
"ctxt": 0
},
"prelude": null,
"block": []
},
{
"type": "PageRule",
"span": {
"start": 621,
"end": 635,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 627,
"end": 632,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 627,
"end": 632,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 627,
"end": 632,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 628,
"end": 632,
"ctxt": 0
},
"value": "left",
"raw": "left"
}
}
]
}
]
},
"block": []
},
{
"type": "PageRule",
"span": {
"start": 636,
"end": 651,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 642,
"end": 648,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 642,
"end": 648,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 642,
"end": 648,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 643,
"end": 648,
"ctxt": 0
},
"value": "first",
"raw": "first"
}
}
]
}
]
},
"block": []
},
{
"type": "PageRule",
"span": {
"start": 652,
"end": 672,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 658,
"end": 669,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 658,
"end": 669,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 658,
"end": 664,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 659,
"end": 664,
"ctxt": 0
},
"value": "blank",
"raw": "blank"
}
},
{
"type": "PageSelectorPseudo",
"span": {
"start": 664,
"end": 669,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 665,
"end": 669,
"ctxt": 0
},
"value": "left",
"raw": "left"
}
}
]
}
]
},
"block": []
},
{
"type": "PageRule",
"span": {
"start": 673,
"end": 687,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 679,
"end": 684,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 679,
"end": 684,
"ctxt": 0
},
"pageType": {
"type": "PageSelectorType",
"span": {
"start": 679,
"end": 684,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 679,
"end": 684,
"ctxt": 0
},
"value": "artsy",
"raw": "artsy"
}
},
"pseudos": null
}
]
},
"block": []
},
{
"type": "PageRule",
"span": {
"start": 688,
"end": 707,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 694,
"end": 704,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 694,
"end": 704,
"ctxt": 0
},
"pageType": {
"type": "PageSelectorType",
"span": {
"start": 694,
"end": 699,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 694,
"end": 699,
"ctxt": 0
},
"value": "artsy",
"raw": "artsy"
}
},
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 699,
"end": 704,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 700,
"end": 704,
"ctxt": 0
},
"value": "left",
"raw": "left"
}
}
]
}
]
},
"block": []
},
{
"type": "PageRule",
"span": {
"start": 708,
"end": 728,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 714,
"end": 725,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 714,
"end": 725,
"ctxt": 0
},
"pageType": {
"type": "PageSelectorType",
"span": {
"start": 714,
"end": 719,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 714,
"end": 719,
"ctxt": 0
},
"value": "artsy",
"raw": "artsy"
}
},
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 719,
"end": 725,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 720,
"end": 725,
"ctxt": 0
},
"value": "first",
"raw": "first"
}
}
]
}
]
},
"block": []
},
{
"type": "PageRule",
"span": {
"start": 729,
"end": 878,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 735,
"end": 741,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 735,
"end": 741,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 735,
"end": 741,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 736,
"end": 741,
"ctxt": 0
},
"value": "first",
"raw": "first"
}
}
]
}
]
},
"block": [
{
"type": "Declaration",
"span": {
"start": 748,
"end": 760,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 748,
"end": 753,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "Identifier",
"span": {
"start": 755,
"end": 760,
"ctxt": 0
},
"value": "green",
"raw": "green"
}
],
"important": null
},
{
"type": "PageMarginRule",
"span": {
"start": 767,
"end": 829,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 768,
"end": 776,
"ctxt": 0
},
"value": "top-left",
"raw": "top-left"
},
"block": [
{
"type": "Declaration",
"span": {
"start": 787,
"end": 801,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 787,
"end": 794,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"value": [
{
"type": "String",
"span": {
"start": 796,
"end": 801,
"ctxt": 0
},
"value": "foo",
"raw": "\"foo\""
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 811,
"end": 822,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 811,
"end": 816,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "Identifier",
"span": {
"start": 818,
"end": 822,
"ctxt": 0
},
"value": "blue",
"raw": "blue"
}
],
"important": null
}
]
},
{
"type": "PageMarginRule",
"span": {
"start": 834,
"end": 876,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 835,
"end": 844,
"ctxt": 0
},
"value": "top-right",
"raw": "top-right"
},
"block": [
{
"type": "Declaration",
"span": {
"start": 855,
"end": 869,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 855,
"end": 862,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"value": [
{
"type": "String",
"span": {
"start": 864,
"end": 869,
"ctxt": 0
},
"value": "bar",
"raw": "\"bar\""
}
],
"important": null
}
]
}
]
},
{
"type": "PageRule",
"span": {
"start": 879,
"end": 1051,
"ctxt": 0
},
"prelude": {
"type": "PageSelectorList",
"span": {
"start": 885,
"end": 891,
"ctxt": 0
},
"selectors": [
{
"type": "PageSelector",
"span": {
"start": 885,
"end": 891,
"ctxt": 0
},
"pageType": null,
"pseudos": [
{
"type": "PageSelectorPseudo",
"span": {
"start": 885,
"end": 891,
"ctxt": 0
},
"value": {
"type": "Identifier",
"span": {
"start": 886,
"end": 891,
"ctxt": 0
},
"value": "first",
"raw": "first"
}
}
]
}
]
},
"block": [
{
"type": "Declaration",
"span": {
"start": 898,
"end": 910,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 898,
"end": 903,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "Identifier",
"span": {
"start": 905,
"end": 910,
"ctxt": 0
},
"value": "green",
"raw": "green"
}
],
"important": null
},
{
"type": "PageMarginRule",
"span": {
"start": 917,
"end": 979,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 918,
"end": 926,
"ctxt": 0
},
"value": "top-left",
"raw": "top-left"
},
"block": [
{
"type": "Declaration",
"span": {
"start": 937,
"end": 951,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 937,
"end": 944,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"value": [
{
"type": "String",
"span": {
"start": 946,
"end": 951,
"ctxt": 0
},
"value": "foo",
"raw": "\"foo\""
}
],
"important": null
},
{
"type": "Declaration",
"span": {
"start": 961,
"end": 972,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 961,
"end": 966,
"ctxt": 0
},
"value": "color",
"raw": "color"
},
"value": [
{
"type": "Identifier",
"span": {
"start": 968,
"end": 972,
"ctxt": 0
},
"value": "blue",
"raw": "blue"
}
],
"important": null
}
]
},
{
"type": "PageMarginRule",
"span": {
"start": 984,
"end": 1026,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 985,
"end": 994,
"ctxt": 0
},
"value": "top-right",
"raw": "top-right"
},
"block": [
{
"type": "Declaration",
"span": {
"start": 1005,
"end": 1019,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1005,
"end": 1012,
"ctxt": 0
},
"value": "content",
"raw": "content"
},
"value": [
{
"type": "String",
"span": {
"start": 1014,
"end": 1019,
"ctxt": 0
},
"value": "bar",
"raw": "\"bar\""
}
],
"important": null
}
]
},
{
"type": "Declaration",
"span": {
"start": 1036,
"end": 1048,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 1036,
"end": 1042,
"ctxt": 0
},
"value": "margin",
"raw": "margin"
},
"value": [
{
"type": "Dimension",
"span": {
"start": 1044,
"end": 1048,
"ctxt": 0
},
"value": {
"type": "Number",
"span": {
"start": 1044,
"end": 1046,
"ctxt": 0
},
"value": 20.0,
"raw": "20"
},
"unit": {
"type": "Identifier",
"span": {
"start": 1046,
"end": 1048,
"ctxt": 0
},
"value": "px",
"raw": "px"
}
}
],
"important": null
}
]
}
]
}