From de706a2d638bd34c9685d24f659acc95edcdaa6f Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 21 Jan 2011 18:17:53 +0000 Subject: mostly working integer implementation svn path=/trunk/libcss/; revision=11431 --- test/data/parse/colours-hsl.dat | 114 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 test/data/parse/colours-hsl.dat (limited to 'test') diff --git a/test/data/parse/colours-hsl.dat b/test/data/parse/colours-hsl.dat new file mode 100644 index 0000000..7cc9ea5 --- /dev/null +++ b/test/data/parse/colours-hsl.dat @@ -0,0 +1,114 @@ +## simple HSL color values + +## red +#data +* { color: hsl(0, 100%, 50%) } +#errors +#expected +| 1 * +| 0x02000018 0xffff0000 +#reset + +## yellow +#data +* { color: hsl(60, 100%, 50%) } +#errors +#expected +| 1 * +| 0x02000018 0xffffff00 +#reset + +## green +#data +* { color: hsl(120, 100%, 50%) } +#errors +#expected +| 1 * +| 0x02000018 0xff00ff00 +#reset + +## cyan +#data +* { color: hsl(180, 100%, 50%) } +#errors +#expected +| 1 * +| 0x02000018 0xff00ffff +#reset + +## blue +#data +* { color: hsl(240, 100%, 50%) } +#errors +#expected +| 1 * +| 0x02000018 0xff0000ff +#reset + +## Magenta +#data +* { color: hsl(300, 100%, 50%) } +#errors +#expected +| 1 * +| 0x02000018 0xffff00ff +#reset + +## Selection of difefrnt HSL values + +#data +* { color: hsl(0, 0%, 40%) } +#errors +#expected +| 1 * +| 0x02000018 0xff666666 +#reset + +#data +* { color: hsl(12, 44%, 66%) } +#errors +#expected +| 1 * +| 0x02000018 0xffCE9182 +#reset + +#data +* { color: hsl(69, 22%, 11%) } +#errors +#expected +| 1 * +| 0x02000018 0xff202215 +#reset + + +#data +* { color: hsl(111, 22%, 33%) } +#errors +#expected +| 1 * +| 0x02000018 0xff476641 +#reset + +#data +* { color: hsl(188, 50%, 75%) } +#errors +#expected +| 1 * +| 0x02000018 0xff9FD7DF +#reset + +#data +* { color: hsl(222, 22%, 22%) } +#errors +#expected +| 1 * +| 0x02000018 0xff2b3344 +#reset + +#data +* { color: hsl(300, 30%, 30%) } +#errors +#expected +| 1 * +| 0x02000018 0xff633563 +#reset -- cgit v1.2.3