### ----------------------------------------------------
### -- CSS::Module
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: t/css1-properties.json
### ----------------------------------------------------
{ "prop" : "background-color", "decl" : "#37a", "expr" : [ { "rgb" : [ { "num" : 51 }, { "num" : 119 }, { "num" : 170 } ] } ] }
{ "prop" : "background-image", "decl" : "url(images/ok.png)", "expr" : [ { "url" : "images/ok.png" } ] }
{ "prop" : "background-repeat", "decl" : "Repeat-x", "expr" : [ { "keyw" : "repeat-x" } ] }
{ "prop" : "background-attachment", "decl" : "FiXed", "expr" : [ { "keyw" : "fixed" } ] }
{ "prop" : "background-position", "decl" : "100% 90%", "expr" : [ { "percent" : 100 }, { "percent" : 90 } ] }
{ "prop" : "background", "decl" : "url(chess.png) gray 50% repeat scroll", "expr" : [ { "expr:background-image" : [ { "url" : "chess.png" } ] }, { "expr:background-color" : [ { "rgb" : [ { "num" : 128 }, { "num" : 128 }, { "num" : 128 } ] } ] }, { "expr:background-position" : [ { "percent" : 50 } ] }, { "expr:background-repeat" : [ { "keyw" : "repeat" } ] }, { "expr:background-attachment" : [ { "keyw" : "scroll" } ] } ] }
{ "prop" : "border-top-width", "decl" : "thick", "expr" : [ { "keyw" : "thick" } ] }
{ "prop" : "border-width", "decl" : "2ex 1.5em 3ex 5%", "expr" : [ { "ex" : 2 }, { "em" : 1.5 }, { "ex" : 3 }, { "percent" : 5 } ] }
{ "prop" : "border-color", "decl" : "#a7f #aa77ff rgb(100,150,20) aqua", "expr" : [ { "rgb" : [ { "num" : 170 }, { "num" : 119 }, { "num" : 255 } ] }, { "rgb" : [ { "num" : 170 }, { "num" : 119 }, { "num" : 255 } ] }, { "rgb" : [ { "num" : 100 }, { "num" : 150 }, { "num" : 20 } ] }, { "rgb" : [ { "num" : 0 }, { "num" : 255 }, { "num" : 255 } ] } ] }
{ "prop" : "border-top-color", "decl" : "#aaa", "expr" : [ { "rgb" : [ { "num" : 170 }, { "num" : 170 }, { "num" : 170 } ] } ] }
{ "prop" : "border-style", "decl" : "groove", "expr" : [ { "keyw" : "groove" } ] }
{ "prop" : "border-top-style", "decl" : "ridge", "expr" : [ { "keyw" : "ridge" } ] }
{ "prop" : "border", "decl" : "1px solid red", "expr" : [ { "expr:border-width" : [ { "px" : 1 } ] }, { "expr:border-style" : [ { "keyw" : "solid" } ] }, { "expr:border-color" : [ { "rgb" : [ { "num" : 255 }, { "num" : 0 }, { "num" : 0 } ] } ] } ] }
{ "prop" : "border", "decl" : "1px red blue", "warnings" : "extra terms following 'border' declaration: blue - dropped" }
{ "prop" : "clear", "decl" : "both", "expr" : [ { "keyw" : "both" } ] }
{ "prop" : "color", "decl" : "#3377aa", "expr" : [ { "rgb" : [ { "num" : 51 }, { "num" : 119 }, { "num" : 170 } ] } ] }
{ "prop" : "display", "decl" : "list-item", "expr" : [ { "keyw" : "list-item" } ] }
{ "prop" : "float", "decl" : "left", "expr" : [ { "keyw" : "left" } ] }
{ "prop" : "font-family", "decl" : "Gill, 'Helvetica', sans-serif", "expr" : [ { "ident" : "Gill" }, { "op" : "," }, { "string" : "Helvetica" }, { "op" : "," }, { "keyw" : "sans-serif" } ] }
{ "prop" : "font-family", "decl" : "New Century Schoolbook", "expr" : [ { "ident" : "New Century Schoolbook" } ] }
{ "prop" : "font-family", "decl" : "New\nCentury  Schoolbook", "expr" : [ { "ident" : "New Century Schoolbook" } ] }
{ "prop" : "font-style", "decl" : "italic", "expr" : [ { "keyw" : "italic" } ] }
{ "prop" : "font-variant", "decl" : "small-caps", "expr" : [ { "keyw" : "small-caps" } ] }
{ "prop" : "font-weight", "decl" : "bolder", "expr" : [ { "keyw" : "bolder" } ] }
{ "prop" : "font-weight", "decl" : "800", "expr" : [ { "num" : 800 } ] }
{ "prop" : "font-size", "decl" : "12pt", "expr" : [ { "pt" : 12 } ] }
{ "prop" : "font-size", "decl" : "150%", "expr" : [ { "percent" : 150 } ] }
{ "prop" : "font-size", "decl" : "Larger", "expr" : [ { "keyw" : "larger" } ] }
{ "prop" : "font", "decl" : "12pt/14pt sans-serif", "expr" : [ { "expr:font-size" : [ { "pt" : 12 } ] }, { "op" : "/" }, { "expr:line-height" : [ { "pt" : 14 } ] }, { "expr:font-family" : [ { "keyw" : "sans-serif" } ] } ] }
{ "prop" : "font", "decl" : "normal small-caps 120%/120% fantasy", "expr" : [ { "expr:font-style" : [{ "keyw" : "normal" }] }, { "expr:font-variant" : [{ "keyw" : "small-caps" }] }, { "expr:font-size" : [ { "percent" : 120 } ] }, { "op" : "/" }, { "expr:line-height" : [ { "percent" : 120 } ] }, { "expr:font-family" : [ { "keyw" : "fantasy" } ] } ] }
// style/weight following family name - non conformant
{ "prop" : "font", "decl" : "10pt courier bold", "expr" : [ { "expr:font-size" : [ { "pt" : 10 } ] }, { "expr:font-family" : [ { "ident" : "courier bold" } ] } ] }
{ "prop" : "letter-spacing", "decl" : "normal", "expr" : [ { "keyw" : "normal" } ] }
{ "prop" : "line-height", "decl" : "120%", "expr" : [ { "percent" : 120 } ] }
{ "prop" : "list-style-type", "decl" : "square", "expr" : [ { "keyw" : "square" } ] }
{ "prop" : "list-style-image", "decl" : "url(snoopy.png)", "expr" : [ { "url" : "snoopy.png" } ] }
{ "prop" : "list-style-position", "decl" : "outside", "expr" : [ { "keyw" : "outside" } ] }
{ "prop" : "list-style", "decl" : "url(http://png.com/ellipse.png) disc outside", "expr" : [ { "expr:list-style-image" : [ { "url" : "http://png.com/ellipse.png" } ] }, { "expr:list-style-type" : [ { "keyw" : "disc" } ] }, { "expr:list-style-position" : [ { "keyw" : "outside" } ] } ] }
{ "prop" : "overflow", "decl" : "scroll", "expr" : [ { "keyw" : "scroll" } ] }
{ "prop" : "padding-bottom", "decl" : "2em", "expr" : [ { "em" : 2 } ] }
{ "prop" : "position", "decl" : "absolute", "expr" : [ { "keyw" : "absolute" } ] }
{ "prop" : "margin-top", "decl" : "1.25ex", "expr" : [ { "ex" : 1.25 } ] }
{ "prop" : "margin", "decl" : "1.2ex 1.5em 125% 0", "expr" : [ { "ex" : 1.2 }, { "em" : 1.5 }, { "percent" : 125 }, { "px" : 0 } ] }
{ "prop" : "margin", "decl" : "1.2ex 1.5em", "expr" : [ { "ex" : 1.2 }, { "em" : 1.5 } ] }
{ "prop" : "text-decoration", "decl" : "Underline", "expr" : [ { "keyw" : "underline" } ] }
{ "prop" : "text-transform", "decl" : "uppercase", "expr" : [ { "keyw" : "uppercase" } ] }
{ "prop" : "text-align", "decl" : "justify", "expr" : [ { "keyw" : "justify" } ] }
{ "prop" : "text-decoration", "decl" : "underline", "expr" : [ { "keyw" : "underline" } ] }
{ "prop" : "vertical-align", "decl" : "text-top", "expr" : [ { "keyw" : "text-top" } ] }
{ "prop" : "width", "decl" : "55mm", "expr" : [ { "mm" : 55 } ] }
{ "prop" : "word-spacing", "decl" : "1.5em", "expr" : [ { "em" : 1.5 } ] }
{ "prop" : "white-space", "decl" : "nowrap", "expr" : [ { "keyw" : "nowrap" } ] }
{ "prop" : "z-index", "decl" : "-3", "expr" : [ { "int" : -3 } ] }


