### ----------------------------------------------------
### -- CSS::Module
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: t/css3x-paged-media.json
### ----------------------------------------------------
[ "at-rule", { "input" : "@page :left { margin-left: 4cm; size: a4 }", "ast" : { "at-rule" : { "pseudo-class" : "left", "declarations" : [ { "property" : { "ident" : "margin-left", "expr" : [ { "cm" : 4 } ] } }, { "property" : { "ident" : "size", "expr" : [ { "keyw" : "a4" } ] } } ], "at-keyw" : "page" } } } ]
[ "at-rule", { "input" : "@page :right { tickety: boo; size: A3 }", "ast" : { "at-rule" : { "pseudo-class" : "right", "declarations" : [ { "property" : { "ident" : "size", "expr" : [ { "keyw" : "a3" } ] } } ], "at-keyw" : "page" } }, "warnings" : "dropping unknown property: tickety" } ]
[ "at-rule", { "input" : "@PAGE :junk { margin-right: 2cm }", "ast" : { "at-rule" : { "declarations" : [ { "property" : { "ident" : "margin-right", "expr" : [ { "cm" : 2 } ] } } ], "at-keyw" : "page" } }, "warnings" : "ignoring page pseudo: junk" } ]
[ "at-rule", { "input" : "@page : { margin-right: 2cm }", "ast" : null, "warnings" : "':' should be followed by one of: left right first" } ]
[ "page-declarations", { "input" : "{@bottom-right-CorNeR {color:blue}}", "ast" : { "declarations" : [ { "at-rule" : { "at-keyw" : "bottom-right-corner", "declarations" : [ { "property" : { "ident" : "color", "expr" : [ { "rgb" : [ { "num" : 0 }, { "num" : 0 }, { "num" : 255 } ] } ] } } ] } } ] } } ]
[ "page-declarations", { "input" : "{ @Top-CENTER {content: 'Page ' counters(page);} }", "ast" : { "declarations" : [ { "at-rule" : { "at-keyw" : "top-center", "declarations" : [ { "property" : { "ident" : "content", "expr" : [ { "string" : "Page " }, { "func" : { "ident" : "counters", "args" : [ { "ident" : "page" } ] } } ] } } ] } } ] } } ]
[ "at-rule", { "input" : "@page { color: red; @top-center { content: 'Page ' counters(page,'.'); } }", "ast" : { "at-rule" : { "declarations" : [ { "property" : { "ident" : "color", "expr" : [ { "rgb" : [ { "num" : 255 }, { "num" : 0 }, { "num" : 0 } ] } ] } }, { "at-rule" : { "at-keyw" : "top-center", "declarations" : [ { "property" : { "ident" : "content", "expr" : [ { "string" : "Page " }, { "func" : { "ident" : "counters", "args" : [ { "ident" : "page" }, { "string" : "." } ] } } ] } } ] } } ], "at-keyw" : "page" } } } ]


