From d2305319c1d21d59f711b32a538290dfdceef328 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 12 Jan 2009 23:04:42 +0000 Subject: Testcase for colour specifiers. Should cover most things. This (or something similar) will need migrating to the automated data at some point. svn path=/trunk/libcss/; revision=6052 --- test/data/css/color.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/data/css/color.css (limited to 'test/data/css') diff --git a/test/data/css/color.css b/test/data/css/color.css new file mode 100644 index 0000000..d6f572f --- /dev/null +++ b/test/data/css/color.css @@ -0,0 +1,19 @@ +h1 { + color: red; + color: #12f; + color: #12345f; + color: rgb(0, 0, 0); + color: rgb(0%, 0%, 0%); + + color: rgb(300, 0, 0); + color: rgb(-10, 0, 0); + color: rgb(150%, 0%, 0%); + color: rgb(-10%, 0%, 0%); + + color: 123; + color: 123456; + color: 12f; + color: 12345f; + color: 12f456; + color: f00000; +} -- cgit v1.2.3