### ----------------------------------------------------
### -- CSS::Module
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: t/css3x-fonts.json
### ----------------------------------------------------
[ "at-rule", { "input" : "@font-face { font-family: MainText; src: url(gentium.eot); /* for use with older user agents */ src: local('Gentium'), url(gentium.ttf) format('truetype');  /* Overrides src definition */ }", "ast" : { "at-rule" : { "declarations" : [ { "property" : { "ident" : "font-family", "expr" : [ { "ident" : "MainText" } ] } }, { "property" : { "expr" : [ { "expr" : [ { "url" : "gentium.eot" } ] } ], "ident" : "src" } }, { "property" : { "expr" : [ { "expr" : [ { "func" : { "ident" : "local", "args" : [ { "string" : "Gentium" } ] } } ] }, { "op" : "," }, { "expr" : [ { "url" : "gentium.ttf" }, { "func" : { "ident" : "format", "args" : [ { "string" : "truetype" } ] } } ] } ], "ident" : "src" } } ], "at-keyw" : "font-face" } }, "css21" : { "parse" : "", "ast" : null } } ]
[ "declarations", { "input" : "{font-family: 21st Century, fantasy;}", "ast" : { "declarations" : [ { "property" : { "ident" : "font-family", "expr" : [ { "ident" : "21st Century" }, { "op" : "," }, { "keyw" : "fantasy" } ] } } ] } } ]
[ "at-rule", { "input" : "@font-face { font-family: BBCBengali; src: url(fonts/BBCBengali.ttf) format(\"opentype\"); unicode-range: U+00-FF, U+980-9FF; }", "ast" : { "at-rule" : { "at-keyw" : "font-face", "declarations" : [ { "property" : { "expr" : [ { "ident" : "BBCBengali" } ], "ident" : "font-family" } }, { "property" : { "ident" : "src", "expr" : [ { "expr" : [ { "url" : "fonts/BBCBengali.ttf" }, { "func" : { "ident" : "format", "args" : [ { "string" : "opentype" } ] } } ] } ] } }, { "property" : { "expr" : [ { "unicode-range" : [ 0, 255 ] }, { "op" : "," }, { "unicode-range" : [ 2432, 2559 ] } ], "ident" : "unicode-range" } } ] } }, "css21" : { "parse" : "", "ast" : null } } ]
[ "declarations", { "input" : "{font-feature-settings: \"smcp\", \"swsh\" 2;}", "ast" : { "declarations" : [ { "property" : { "ident" : "font-feature-settings", "expr" : [ { "expr:feature-tag-value" : [ { "string" : "smcp" } ] }, { "op" : "," }, { "expr:feature-tag-value" : [ { "string" : "swsh" }, { "int" : 2 } ] } ] } } ] }, "css21" : { "warnings" : "dropping unknown property: font-feature-settings", "ast" : null } } ]
[ "declaration", { "input" : "font-weight: lighter;", "ast" : { "property" : { "ident" : "font-weight", "expr" : [ { "keyw" : "lighter" } ] } } } ]
[ "declaration", { "input" : "font-weight: initial;", "ast" : { "property" : { "ident" : "font-weight", "expr" : [ { "keyw" : "initial" } ] } }, "css21" : { "warnings" : "usage font-weight: normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | inherit", "ast" : null } } ]
[ "declaration", { "input" : "font-weight: inherit", "ast" : { "property" : { "ident" : "font-weight", "expr" : [ { "keyw" : "inherit" } ] } } } ]
[ "declaration", { "input" : "font-stretch: extra-expanded", "ast" : { "property" : { "ident" : "font-stretch", "expr" : [ { "keyw" : "extra-expanded" } ] } }, "css21" : { "parse" : "", "ast" : null }, "css21" : { "warnings" : "dropping unknown property: font-stretch", "ast" : null } } ]
[ "declaration", { "input" : "font-style: oblique;", "ast" : { "property" : { "ident" : "font-style", "expr" : [ { "keyw" : "oblique" } ] } } } ]
[ "declaration", { "input" : "font-size-adjust: .7;", "ast" : { "property" : { "ident" : "font-size-adjust", "expr" : [ { "num" : 0.7 } ] } }, "css21" : { "parse" : "", "ast" : null }, "css21" : { "warnings" : "dropping unknown property: font-size-adjust", "ast" : null } } ]
[ "declaration", { "input" : "font: x-large/110% 'new century schoolbook', serif;", "ast" : { "property" : { "ident" : "font", "expr" : [ { "expr:font-size" : [ { "keyw" : "x-large" } ] }, { "op" : "/" }, { "expr:line-height" : [ { "percent" : 110 } ] }, { "expr:font-family" : [ { "string" : "new century schoolbook" }, { "op" : "," }, { "keyw" : "serif" } ] } ] } } } ]
[ "declaration", { "input" : "font-variant: small-caps;", "ast" : { "property" : { "ident" : "font-variant", "expr" : [ { "keyw" : "small-caps" } ] } } } ]
[ "declaration", { "input" : "font-variant: annotation(circled);", "ast" : { "property" : { "ident" : "font-variant", "expr" : [ { "func" : { "ident" : "annotation", "args" : [ { "ident" : "circled" } ] } } ] } }, "css21" : { "ast" : null, "warnings" : "usage font-variant: normal | small-caps | inherit" } } ]
[ "declaration", { "input" : "font-synthesis: weight;", "ast" : { "property" : { "ident" : "font-synthesis" ,"expr" : [ { "keyw" : "weight" } ] } }, "css21" : { "parse" : "", "ast" : null }, "css21" : { "warnings" : "dropping unknown property: font-synthesis", "ast" : null } } ]
[ "declaration", { "input" : "font-variant: discretionary-ligatures character-variant(leo-B, leo-M, leo-N, leo-T, leo-U);", "ast" : { "property" : { "ident" : "font-variant", "expr" : [ { "keyw" : "discretionary-ligatures" }, { "func" : { "ident" : "character-variant", "args" : [ { "ident" : "leo-B" }, { "ident" : "leo-M" }, { "ident" : "leo-N" }, { "ident" : "leo-T" }, { "ident" : "leo-U" } ] } } ] } }, "css21" : { "ast" : null, "warnings" : "usage font-variant: normal | small-caps | inherit" } } ]
[ "declaration", { "input" : "line-height: 1.2em ;", "ast" : { "property" : { "ident" : "line-height", "expr" : [ { "em" : 1.2 } ] } } } ]


