diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2011-01-29 21:51:45 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2011-01-29 21:51:45 +0000 |
commit | 6ba000db056d7e9b70a7e154a003644046bf7e98 (patch) | |
tree | 30c43ec8543ec9cb66169721e3268ea0a7cdb76f /test/data/parse | |
parent | 1b13f81b8259f4416df7b3063cb280cb977722d7 (diff) | |
download | libcss-6ba000db056d7e9b70a7e154a003644046bf7e98.tar.gz libcss-6ba000db056d7e9b70a7e154a003644046bf7e98.tar.bz2 |
Add support for opacity property
svn path=/trunk/libcss/; revision=11527
Diffstat (limited to 'test/data/parse')
-rw-r--r-- | test/data/parse/colours.dat | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/test/data/parse/colours.dat b/test/data/parse/colours.dat index 0ca7a31..b7cab9c 100644 --- a/test/data/parse/colours.dat +++ b/test/data/parse/colours.dat @@ -56,6 +56,22 @@ | 0x00040018 #reset +#data +* { opacity: 0 } +#errors +#expected +| 1 * +| 0x02000063 0x00000000 +#reset + +#data +* { opacity: 0.22 } +#errors +#expected +| 1 * +| 0x02000063 0x000000e1 +#reset + ## Out-of-range rgb() parameters #data @@ -130,3 +146,19 @@ | 0x02000018 0x00000000 #reset +#data +* { opacity: -0.22 } +#errors +#expected +| 1 * +| 0x02000063 0x00000000 +#reset + +#data +* { opacity: 1.22 } +#errors +#expected +| 1 * +| 0x02000063 0x00000400 +#reset + |