summaryrefslogtreecommitdiff
path: root/test/data/css
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-01-12 23:04:42 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-01-12 23:04:42 +0000
commitd2305319c1d21d59f711b32a538290dfdceef328 (patch)
tree2fcacc87fe3a5b5fdfe7baa51ba6455b2aed84f4 /test/data/css
parent57d03d0b1ce7d25ad9b49aaee0d839cf818b6e04 (diff)
downloadlibcss-d2305319c1d21d59f711b32a538290dfdceef328.tar.gz
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
Diffstat (limited to 'test/data/css')
-rw-r--r--test/data/css/color.css19
1 files changed, 19 insertions, 0 deletions
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;
+}