From f05e9215cf2b66e2782e9742737920a664902d46 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 21 Jan 2011 23:52:36 +0000 Subject: Use css_fixed for fixed-point arithmetic. Simplify HSL->RGB conversion a little. Add test data for white and black svn path=/trunk/libcss/; revision=11437 --- test/data/parse/colours-hsl.dat | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'test/data') diff --git a/test/data/parse/colours-hsl.dat b/test/data/parse/colours-hsl.dat index 74300c2..2a98ba9 100644 --- a/test/data/parse/colours-hsl.dat +++ b/test/data/parse/colours-hsl.dat @@ -54,7 +54,23 @@ | 0x02000018 0xffff00ff #reset -## Selection of difefrnt HSL values +## Selection of different HSL values + +#data +* { color: hsl(0, 0%, 0%) } +#errors +#expected +| 1 * +| 0x02000018 0xff000000 +#reset + +#data +* { color: hsl(0, 0%, 100%) } +#errors +#expected +| 1 * +| 0x02000018 0xffffffff +#reset #data * { color: hsl(0, 0%, 40%) } -- cgit v1.2.3