summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2010-12-04 21:25:31 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2010-12-04 21:25:31 +0000
commit46a819f99abbdc8205a2bfc9bb67536ada08c0e1 (patch)
tree8e900f346a10ce5b564ab616e76127b3097861d2 /test
parent5413722a03d0802e7832a696e6069368dc544b4e (diff)
downloadlibcss-46a819f99abbdc8205a2bfc9bb67536ada08c0e1.tar.gz
libcss-46a819f99abbdc8205a2bfc9bb67536ada08c0e1.tar.bz2
Fix testsuite in light of change to colour representation
svn path=/trunk/libcss/; revision=10987
Diffstat (limited to 'test')
-rw-r--r--test/data/parse/colours.dat18
-rw-r--r--test/data/parse/properties.dat12
-rw-r--r--test/data/parse/tests1.dat2
-rw-r--r--test/data/parse2/bg.dat12
-rw-r--r--test/data/parse2/border.dat264
-rw-r--r--test/data/parse2/eof.dat10
-rw-r--r--test/data/parse2/malformed-declarations.dat12
-rw-r--r--test/data/parse2/outline.dat48
-rw-r--r--test/data/parse2/tests1.dat2
-rw-r--r--test/data/parse2/unknown-properties.dat2
-rw-r--r--test/data/select/tests1.dat36
-rw-r--r--test/select-auto.c2
12 files changed, 210 insertions, 210 deletions
diff --git a/test/data/parse/colours.dat b/test/data/parse/colours.dat
index 097e13c..1e7b940 100644
--- a/test/data/parse/colours.dat
+++ b/test/data/parse/colours.dat
@@ -5,7 +5,7 @@
#errors
#expected
| 1 *
-| 0x02000018 0xff000000
+| 0x02000018 0xffff0000
#reset
#data
@@ -13,7 +13,7 @@
#errors
#expected
| 1 *
-| 0x02000018 0xff000000
+| 0x02000018 0xffff0000
#reset
#data
@@ -21,7 +21,7 @@
#errors
#expected
| 1 *
-| 0x02000018 0xff000000
+| 0x02000018 0xffff0000
#reset
#data
@@ -29,7 +29,7 @@
#errors
#expected
| 1 *
-| 0x02000018 0xff000000
+| 0x02000018 0xffff0000
#reset
#data
@@ -37,7 +37,7 @@
#errors
#expected
| 1 *
-| 0x02000018 0xff000000
+| 0x02000018 0xffff0000
#reset
## Out-of-range rgb() parameters
@@ -47,7 +47,7 @@
#errors
#expected
| 1 *
-| 0x02000018 0xff000000
+| 0x02000018 0xffff0000
#reset
#data
@@ -55,7 +55,7 @@
#errors
#expected
| 1 *
-| 0x02000018 0x00000000
+| 0x02000018 0xff000000
#reset
#data
@@ -63,7 +63,7 @@
#errors
#expected
| 1 *
-| 0x02000018 0xff000000
+| 0x02000018 0xffff0000
#reset
#data
@@ -71,6 +71,6 @@
#errors
#expected
| 1 *
-| 0x02000018 0x00000000
+| 0x02000018 0xff000000
#reset
diff --git a/test/data/parse/properties.dat b/test/data/parse/properties.dat
index 28dd626..8cc4c7d 100644
--- a/test/data/parse/properties.dat
+++ b/test/data/parse/properties.dat
@@ -222,7 +222,7 @@
#errors
#expected
| 1 *
-| 0x02000002 0xff008800
+| 0x02000002 0xffff0088
#reset
#data
@@ -466,7 +466,7 @@
#errors
#expected
| 1 *
-| 0x02000008 0xff448800
+| 0x02000008 0xffff4488
#reset
#data
@@ -474,7 +474,7 @@
#errors
#expected
| 1 *
-| 0x02000009 0x8822bb00
+| 0x02000009 0xff8822bb
#reset
#data
@@ -482,7 +482,7 @@
#errors
#expected
| 1 *
-| 0x0200000a 0xbbbbcc00
+| 0x0200000a 0xffbbbbcc
#reset
#data
@@ -774,7 +774,7 @@
#errors
#expected
| 1 *
-| 0x02000018 0xbbbbcc00
+| 0x02000018 0xffbbbbcc
#reset
##
@@ -2281,7 +2281,7 @@ p:before { content: open-quote url('http://picodrive.acornarcade.com/') " : " at
#errors
#expected
| 1 *
-| 0x02000039 0xbbbbcc00
+| 0x02000039 0xffbbbbcc
#reset
##
diff --git a/test/data/parse/tests1.dat b/test/data/parse/tests1.dat
index b4cbfac..29b3d5c 100644
--- a/test/data/parse/tests1.dat
+++ b/test/data/parse/tests1.dat
@@ -10,7 +10,7 @@
#errors
#expected
| 1 *
-| 0x02000018 0xff000000
+| 0x02000018 0xffff0000
#reset
#data
diff --git a/test/data/parse2/bg.dat b/test/data/parse2/bg.dat
index 145fe63..2ede015 100644
--- a/test/data/parse2/bg.dat
+++ b/test/data/parse2/bg.dat
@@ -4,7 +4,7 @@
#expected
| *
| background-attachment: scroll
-| background-color: #ff000000
+| background-color: #ffff0000
| background-image: none
| background-position: left top
| background-repeat: repeat
@@ -16,7 +16,7 @@
#expected
| *
| background-attachment: fixed
-| background-color: #80808000
+| background-color: #ff808080
| background-image: url('chess.png')
| background-position: 40% center
| background-repeat: repeat
@@ -40,7 +40,7 @@
#expected
| *
| background-attachment: fixed
-| background-color: #ffffff00
+| background-color: #ffffffff
| background-image: url('bg.gif')
| background-position: left top
| background-repeat: no-repeat
@@ -67,7 +67,7 @@
#expected
| *
| background-attachment: scroll !important
-| background-color: #ff000000 !important
+| background-color: #ffff0000 !important
| background-image: none !important
| background-position: left top !important
| background-repeat: repeat !important
@@ -79,7 +79,7 @@
#expected
| *
| background-attachment: fixed !important
-| background-color: #80808000 !important
+| background-color: #ff808080 !important
| background-image: url('chess.png') !important
| background-position: 50% center !important
| background-repeat: repeat !important
@@ -103,7 +103,7 @@
#expected
| *
| background-attachment: fixed !important
-| background-color: #ffffff00 !important
+| background-color: #ffffffff !important
| background-image: url('bg.gif') !important
| background-position: left top !important
| background-repeat: no-repeat !important
diff --git a/test/data/parse2/border.dat b/test/data/parse2/border.dat
index 1bce035..ecca9f7 100644
--- a/test/data/parse2/border.dat
+++ b/test/data/parse2/border.dat
@@ -22,16 +22,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000
+| border-top-color: #ffff0000
| border-top-style: none
| border-top-width: medium
-| border-right-color: #ff000000
+| border-right-color: #ffff0000
| border-right-style: none
| border-right-width: medium
-| border-bottom-color: #ff000000
+| border-bottom-color: #ffff0000
| border-bottom-style: none
| border-bottom-width: medium
-| border-left-color: #ff000000
+| border-left-color: #ffff0000
| border-left-style: none
| border-left-width: medium
#reset
@@ -71,16 +71,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000
+| border-top-color: #ffff0000
| border-top-style: solid
| border-top-width: medium
-| border-right-color: #ff000000
+| border-right-color: #ffff0000
| border-right-style: solid
| border-right-width: medium
-| border-bottom-color: #ff000000
+| border-bottom-color: #ffff0000
| border-bottom-style: solid
| border-bottom-width: medium
-| border-left-color: #ff000000
+| border-left-color: #ffff0000
| border-left-style: solid
| border-left-width: medium
#reset
@@ -90,16 +90,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000
+| border-top-color: #ffff0000
| border-top-style: solid
| border-top-width: medium
-| border-right-color: #ff000000
+| border-right-color: #ffff0000
| border-right-style: solid
| border-right-width: medium
-| border-bottom-color: #ff000000
+| border-bottom-color: #ffff0000
| border-bottom-style: solid
| border-bottom-width: medium
-| border-left-color: #ff000000
+| border-left-color: #ffff0000
| border-left-style: solid
| border-left-width: medium
#reset
@@ -109,16 +109,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000
+| border-top-color: #ffff0000
| border-top-style: none
| border-top-width: thin
-| border-right-color: #ff000000
+| border-right-color: #ffff0000
| border-right-style: none
| border-right-width: thin
-| border-bottom-color: #ff000000
+| border-bottom-color: #ffff0000
| border-bottom-style: none
| border-bottom-width: thin
-| border-left-color: #ff000000
+| border-left-color: #ffff0000
| border-left-style: none
| border-left-width: thin
#reset
@@ -128,16 +128,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000
+| border-top-color: #ffff0000
| border-top-style: none
| border-top-width: thin
-| border-right-color: #ff000000
+| border-right-color: #ffff0000
| border-right-style: none
| border-right-width: thin
-| border-bottom-color: #ff000000
+| border-bottom-color: #ffff0000
| border-bottom-style: none
| border-bottom-width: thin
-| border-left-color: #ff000000
+| border-left-color: #ffff0000
| border-left-style: none
| border-left-width: thin
#reset
@@ -177,16 +177,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000
+| border-top-color: #ffff0000
| border-top-style: solid
| border-top-width: thin
-| border-right-color: #ff000000
+| border-right-color: #ffff0000
| border-right-style: solid
| border-right-width: thin
-| border-bottom-color: #ff000000
+| border-bottom-color: #ffff0000
| border-bottom-style: solid
| border-bottom-width: thin
-| border-left-color: #ff000000
+| border-left-color: #ffff0000
| border-left-style: solid
| border-left-width: thin
#reset
@@ -196,16 +196,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000
+| border-top-color: #ffff0000
| border-top-style: solid
| border-top-width: thin
-| border-right-color: #ff000000
+| border-right-color: #ffff0000
| border-right-style: solid
| border-right-width: thin
-| border-bottom-color: #ff000000
+| border-bottom-color: #ffff0000
| border-bottom-style: solid
| border-bottom-width: thin
-| border-left-color: #ff000000
+| border-left-color: #ffff0000
| border-left-style: solid
| border-left-width: thin
#reset
@@ -215,16 +215,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000
+| border-top-color: #ffff0000
| border-top-style: solid
| border-top-width: thin
-| border-right-color: #ff000000
+| border-right-color: #ffff0000
| border-right-style: solid
| border-right-width: thin
-| border-bottom-color: #ff000000
+| border-bottom-color: #ffff0000
| border-bottom-style: solid
| border-bottom-width: thin
-| border-left-color: #ff000000
+| border-left-color: #ffff0000
| border-left-style: solid
| border-left-width: thin
#reset
@@ -234,16 +234,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000
+| border-top-color: #ffff0000
| border-top-style: solid
| border-top-width: thin
-| border-right-color: #ff000000
+| border-right-color: #ffff0000
| border-right-style: solid
| border-right-width: thin
-| border-bottom-color: #ff000000
+| border-bottom-color: #ffff0000
| border-bottom-style: solid
| border-bottom-width: thin
-| border-left-color: #ff000000
+| border-left-color: #ffff0000
| border-left-style: solid
| border-left-width: thin
#reset
@@ -253,16 +253,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000
+| border-top-color: #ffff0000
| border-top-style: solid
| border-top-width: thin
-| border-right-color: #ff000000
+| border-right-color: #ffff0000
| border-right-style: solid
| border-right-width: thin
-| border-bottom-color: #ff000000
+| border-bottom-color: #ffff0000
| border-bottom-style: solid
| border-bottom-width: thin
-| border-left-color: #ff000000
+| border-left-color: #ffff0000
| border-left-style: solid
| border-left-width: thin
#reset
@@ -272,16 +272,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000
+| border-top-color: #ffff0000
| border-top-style: solid
| border-top-width: thin
-| border-right-color: #ff000000
+| border-right-color: #ffff0000
| border-right-style: solid
| border-right-width: thin
-| border-bottom-color: #ff000000
+| border-bottom-color: #ffff0000
| border-bottom-style: solid
| border-bottom-width: thin
-| border-left-color: #ff000000
+| border-left-color: #ffff0000
| border-left-style: solid
| border-left-width: thin
#reset
@@ -311,16 +311,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000 !important
+| border-top-color: #ffff0000 !important
| border-top-style: none !important
| border-top-width: medium !important
-| border-right-color: #ff000000 !important
+| border-right-color: #ffff0000 !important
| border-right-style: none !important
| border-right-width: medium !important
-| border-bottom-color: #ff000000 !important
+| border-bottom-color: #ffff0000 !important
| border-bottom-style: none !important
| border-bottom-width: medium !important
-| border-left-color: #ff000000 !important
+| border-left-color: #ffff0000 !important
| border-left-style: none !important
| border-left-width: medium !important
#reset
@@ -360,16 +360,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000 !important
+| border-top-color: #ffff0000 !important
| border-top-style: solid !important
| border-top-width: medium !important
-| border-right-color: #ff000000 !important
+| border-right-color: #ffff0000 !important
| border-right-style: solid !important
| border-right-width: medium !important
-| border-bottom-color: #ff000000 !important
+| border-bottom-color: #ffff0000 !important
| border-bottom-style: solid !important
| border-bottom-width: medium !important
-| border-left-color: #ff000000 !important
+| border-left-color: #ffff0000 !important
| border-left-style: solid !important
| border-left-width: medium !important
#reset
@@ -379,16 +379,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000 !important
+| border-top-color: #ffff0000 !important
| border-top-style: solid !important
| border-top-width: medium !important
-| border-right-color: #ff000000 !important
+| border-right-color: #ffff0000 !important
| border-right-style: solid !important
| border-right-width: medium !important
-| border-bottom-color: #ff000000 !important
+| border-bottom-color: #ffff0000 !important
| border-bottom-style: solid !important
| border-bottom-width: medium !important
-| border-left-color: #ff000000 !important
+| border-left-color: #ffff0000 !important
| border-left-style: solid !important
| border-left-width: medium !important
#reset
@@ -398,16 +398,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000 !important
+| border-top-color: #ffff0000 !important
| border-top-style: none !important
| border-top-width: thin !important
-| border-right-color: #ff000000 !important
+| border-right-color: #ffff0000 !important
| border-right-style: none !important
| border-right-width: thin !important
-| border-bottom-color: #ff000000 !important
+| border-bottom-color: #ffff0000 !important
| border-bottom-style: none !important
| border-bottom-width: thin !important
-| border-left-color: #ff000000 !important
+| border-left-color: #ffff0000 !important
| border-left-style: none !important
| border-left-width: thin !important
#reset
@@ -417,16 +417,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000 !important
+| border-top-color: #ffff0000 !important
| border-top-style: none !important
| border-top-width: thin !important
-| border-right-color: #ff000000 !important
+| border-right-color: #ffff0000 !important
| border-right-style: none !important
| border-right-width: thin !important
-| border-bottom-color: #ff000000 !important
+| border-bottom-color: #ffff0000 !important
| border-bottom-style: none !important
| border-bottom-width: thin !important
-| border-left-color: #ff000000 !important
+| border-left-color: #ffff0000 !important
| border-left-style: none !important
| border-left-width: thin !important
#reset
@@ -466,16 +466,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000 !important
+| border-top-color: #ffff0000 !important
| border-top-style: solid !important
| border-top-width: thin !important
-| border-right-color: #ff000000 !important
+| border-right-color: #ffff0000 !important
| border-right-style: solid !important
| border-right-width: thin !important
-| border-bottom-color: #ff000000 !important
+| border-bottom-color: #ffff0000 !important
| border-bottom-style: solid !important
| border-bottom-width: thin !important
-| border-left-color: #ff000000 !important
+| border-left-color: #ffff0000 !important
| border-left-style: solid !important
| border-left-width: thin !important
#reset
@@ -485,16 +485,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000 !important
+| border-top-color: #ffff0000 !important
| border-top-style: solid !important
| border-top-width: thin !important
-| border-right-color: #ff000000 !important
+| border-right-color: #ffff0000 !important
| border-right-style: solid !important
| border-right-width: thin !important
-| border-bottom-color: #ff000000 !important
+| border-bottom-color: #ffff0000 !important
| border-bottom-style: solid !important
| border-bottom-width: thin !important
-| border-left-color: #ff000000 !important
+| border-left-color: #ffff0000 !important
| border-left-style: solid !important
| border-left-width: thin !important
#reset
@@ -504,16 +504,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000 !important
+| border-top-color: #ffff0000 !important
| border-top-style: solid !important
| border-top-width: thin !important
-| border-right-color: #ff000000 !important
+| border-right-color: #ffff0000 !important
| border-right-style: solid !important
| border-right-width: thin !important
-| border-bottom-color: #ff000000 !important
+| border-bottom-color: #ffff0000 !important
| border-bottom-style: solid !important
| border-bottom-width: thin !important
-| border-left-color: #ff000000 !important
+| border-left-color: #ffff0000 !important
| border-left-style: solid !important
| border-left-width: thin !important
#reset
@@ -523,16 +523,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000 !important
+| border-top-color: #ffff0000 !important
| border-top-style: solid !important
| border-top-width: thin !important
-| border-right-color: #ff000000 !important
+| border-right-color: #ffff0000 !important
| border-right-style: solid !important
| border-right-width: thin !important
-| border-bottom-color: #ff000000 !important
+| border-bottom-color: #ffff0000 !important
| border-bottom-style: solid !important
| border-bottom-width: thin !important
-| border-left-color: #ff000000 !important
+| border-left-color: #ffff0000 !important
| border-left-style: solid !important
| border-left-width: thin !important
#reset
@@ -542,16 +542,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000 !important
+| border-top-color: #ffff0000 !important
| border-top-style: solid !important
| border-top-width: thin !important
-| border-right-color: #ff000000 !important
+| border-right-color: #ffff0000 !important
| border-right-style: solid !important
| border-right-width: thin !important
-| border-bottom-color: #ff000000 !important
+| border-bottom-color: #ffff0000 !important
| border-bottom-style: solid !important
| border-bottom-width: thin !important
-| border-left-color: #ff000000 !important
+| border-left-color: #ffff0000 !important
| border-left-style: solid !important
| border-left-width: thin !important
#reset
@@ -561,16 +561,16 @@
#errors
#expected
| *
-| border-top-color: #ff000000 !important
+| border-top-color: #ffff0000 !important
| border-top-style: solid !important
| border-top-width: thin !important
-| border-right-color: #ff000000 !important
+| border-right-color: #ffff0000 !important
| border-right-style: solid !important
| border-right-width: thin !important
-| border-bottom-color: #ff000000 !important
+| border-bottom-color: #ffff0000 !important
| border-bottom-style: solid !important
| border-bottom-width: thin !important
-| border-left-color: #ff000000 !important
+| border-left-color: #ffff0000 !important
| border-left-style: solid !important
| border-left-width: thin !important
#reset
@@ -603,10 +603,10 @@
#errors
#expected
| *
-| border-top-color: #ff000000
-| border-right-color: #ff000000
-| border-bottom-color: #ff000000
-| border-left-color: #ff000000
+| border-top-color: #ffff0000
+| border-right-color: #ffff0000
+| border-bottom-color: #ffff0000
+| border-left-color: #ffff0000
#reset
#data
@@ -625,10 +625,10 @@
#errors
#expected
| *
-| border-top-color: #ff000000
-| border-right-color: #00800000
-| border-bottom-color: #ff000000
-| border-left-color: #00800000
+| border-top-color: #ffff0000
+| border-right-color: #ff008000
+| border-bottom-color: #ffff0000
+| border-left-color: #ff008000
#reset
#data
@@ -636,10 +636,10 @@
#errors
#expected
| *
-| border-top-color: #ff000000
-| border-right-color: #00800000
-| border-bottom-color: #0000ff00
-| border-left-color: #00800000
+| border-top-color: #ffff0000
+| border-right-color: #ff008000
+| border-bottom-color: #ff0000ff
+| border-left-color: #ff008000
#reset
#data
@@ -647,10 +647,10 @@
#errors
#expected
| *
-| border-top-color: #ff000000
-| border-right-color: #00800000
-| border-bottom-color: #0000ff00
-| border-left-color: #ffff0000
+| border-top-color: #ffff0000
+| border-right-color: #ff008000
+| border-bottom-color: #ff0000ff
+| border-left-color: #ffffff00
#reset
@@ -659,10 +659,10 @@
#errors
#expected
| *
-| border-top-color: #ff000000 !important
-| border-right-color: #ff000000 !important
-| border-bottom-color: #ff000000 !important
-| border-left-color: #ff000000 !important
+| border-top-color: #ffff0000 !important
+| border-right-color: #ffff0000 !important
+| border-bottom-color: #ffff0000 !important
+| border-left-color: #ffff0000 !important
#reset
#data
@@ -670,10 +670,10 @@
#errors
#expected
| *
-| border-top-color: #ff000000 !important
-| border-right-color: #00800000 !important
-| border-bottom-color: #ff000000 !important
-| border-left-color: #00800000 !important
+| border-top-color: #ffff0000 !important
+| border-right-color: #ff008000 !important
+| border-bottom-color: #ffff0000 !important
+| border-left-color: #ff008000 !important
#reset
#data
@@ -681,10 +681,10 @@
#errors
#expected
| *
-| border-top-color: #ff000000 !important
-| border-right-color: #00800000 !important
-| border-bottom-color: #0000ff00 !important
-| border-left-color: #00800000 !important
+| border-top-color: #ffff0000 !important
+| border-right-color: #ff008000 !important
+| border-bottom-color: #ff0000ff !important
+| border-left-color: #ff008000 !important
#reset
#data
@@ -692,10 +692,10 @@
#errors
#expected
| *
-| border-top-color: #ff000000 !important
-| border-right-color: #00800000 !important
-| border-bottom-color: #0000ff00 !important
-| border-left-color: #ffff0000 !important
+| border-top-color: #ffff0000 !important
+| border-right-color: #ff008000 !important
+| border-bottom-color: #ff0000ff !important
+| border-left-color: #ffffff00 !important
#reset
@@ -984,7 +984,7 @@
#errors
#expected
| *
-| border-top-color: #ff000000
+| border-top-color: #ffff0000
| border-top-style: none
| border-top-width: medium
#reset
@@ -1012,7 +1012,7 @@
#errors
#expected
| *
-| border-top-color: #ff000000
+| border-top-color: #ffff0000
| border-top-style: solid
| border-top-width: medium
#reset
@@ -1022,7 +1022,7 @@
#errors
#expected
| *
-| border-top-color: #ff000000
+| border-top-color: #ffff0000
| border-top-style: solid
| border-top-width: thin
#reset
@@ -1042,7 +1042,7 @@
#errors
#expected
| *
-| border-right-color: #ff000000
+| border-right-color: #ffff0000
| border-right-style: none
| border-right-width: medium
#reset
@@ -1070,7 +1070,7 @@
#errors
#expected
| *
-| border-right-color: #ff000000
+| border-right-color: #ffff0000
| border-right-style: solid
| border-right-width: medium
#reset
@@ -1080,7 +1080,7 @@
#errors
#expected
| *
-| border-right-color: #ff000000
+| border-right-color: #ffff0000
| border-right-style: solid
| border-right-width: thin
#reset
@@ -1100,7 +1100,7 @@
#errors
#expected
| *
-| border-bottom-color: #ff000000
+| border-bottom-color: #ffff0000
| border-bottom-style: none
| border-bottom-width: medium
#reset
@@ -1128,7 +1128,7 @@
#errors
#expected
| *
-| border-bottom-color: #ff000000
+| border-bottom-color: #ffff0000
| border-bottom-style: solid
| border-bottom-width: medium
#reset
@@ -1138,7 +1138,7 @@
#errors
#expected
| *
-| border-bottom-color: #ff000000
+| border-bottom-color: #ffff0000
| border-bottom-style: solid
| border-bottom-width: thin
#reset
@@ -1158,7 +1158,7 @@
#errors
#expected
| *
-| border-left-color: #ff000000
+| border-left-color: #ffff0000
| border-left-style: none
| border-left-width: medium
#reset
@@ -1186,7 +1186,7 @@
#errors
#expected
| *
-| border-left-color: #ff000000
+| border-left-color: #ffff0000
| border-left-style: solid
| border-left-width: medium
#reset
@@ -1196,7 +1196,7 @@
#errors
#expected
| *
-| border-left-color: #ff000000
+| border-left-color: #ffff0000
| border-left-style: solid
| border-left-width: thin
#reset
diff --git a/test/data/parse2/eof.dat b/test/data/parse2/eof.dat
index 48190a6..2f238d7 100644
--- a/test/data/parse2/eof.dat
+++ b/test/data/parse2/eof.dat
@@ -256,7 +256,7 @@ f{clear:both}
#expected
| @media
| f
-| color: #0000ff00
+| color: #ff0000ff
#reset
#data
@@ -265,7 +265,7 @@ f{clear:both}
#expected
| @media
| f
-| color: #0000ff00
+| color: #ff0000ff
#reset
#data
@@ -274,7 +274,7 @@ f{clear:both}
#expected
| @media
| f
-| color: #0000ff00
+| color: #ff0000ff
#reset
#data
@@ -283,7 +283,7 @@ f{clear:both}
#expected
| @media
| f
-| color: #0000ff00
+| color: #ff0000ff
#reset
#data
@@ -292,7 +292,7 @@ f{clear:both}
#expected
| @media
| f
-| color: #0000ff00
+| color: #ff0000ff
#reset
#data
diff --git a/test/data/parse2/malformed-declarations.dat b/test/data/parse2/malformed-declarations.dat
index 9f21024..82e0a3a 100644
--- a/test/data/parse2/malformed-declarations.dat
+++ b/test/data/parse2/malformed-declarations.dat
@@ -63,7 +63,7 @@
#expected
| *
| top: 1em
-| color: #bbbbcc00
+| color: #ffbbbbcc
#reset
#data
@@ -72,7 +72,7 @@
#expected
| *
| top: 1em
-| color: #bbbbcc00
+| color: #ffbbbbcc
#reset
#data
@@ -80,8 +80,8 @@
#errors
#expected
| *
-| background-color: #00000000
-| color: #ffffff00
+| background-color: #ff000000
+| color: #ffffffff
#reset
#data
@@ -89,7 +89,7 @@
#errors
#expected
| *
-| background-color: #00000000
+| background-color: #ff000000
#reset
#data
@@ -97,7 +97,7 @@
#errors
#expected
| *
-| background-color: #00000000
+| background-color: #ff000000
#reset
#data
diff --git a/test/data/parse2/outline.dat b/test/data/parse2/outline.dat
index b6a9fce..4b62bd0 100644
--- a/test/data/parse2/outline.dat
+++ b/test/data/parse2/outline.dat
@@ -13,7 +13,7 @@
#errors
#expected
| *
-| outline-color: #ff000000
+| outline-color: #ffff0000
| outline-style: none
| outline-width: medium
#reset
@@ -43,7 +43,7 @@
#errors
#expected
| *
-| outline-color: #ff000000
+| outline-color: #ffff0000
| outline-style: solid
| outline-width: medium
#reset
@@ -53,7 +53,7 @@
#errors
#expected
| *
-| outline-color: #ff000000
+| outline-color: #ffff0000
| outline-style: solid
| outline-width: medium
#reset
@@ -63,7 +63,7 @@
#errors
#expected
| *
-| outline-color: #ff000000
+| outline-color: #ffff0000
| outline-style: none
| outline-width: thin
#reset
@@ -73,7 +73,7 @@
#errors
#expected
| *
-| outline-color: #ff000000
+| outline-color: #ffff0000
| outline-style: none
| outline-width: thin
#reset
@@ -103,7 +103,7 @@
#errors
#expected
| *
-| outline-color: #ff000000
+| outline-color: #ffff0000
| outline-style: solid
| outline-width: thin
#reset
@@ -113,7 +113,7 @@
#errors
#expected
| *
-| outline-color: #ff000000
+| outline-color: #ffff0000
| outline-style: solid
| outline-width: thin
#reset
@@ -123,7 +123,7 @@
#errors
#expected
| *
-| outline-color: #ff000000
+| outline-color: #ffff0000
| outline-style: solid
| outline-width: thin
#reset
@@ -133,7 +133,7 @@
#errors
#expected
| *
-| outline-color: #ff000000
+| outline-color: #ffff0000
| outline-style: solid
| outline-width: thin
#reset
@@ -143,7 +143,7 @@
#errors
#expected
| *
-| outline-color: #ff000000
+| outline-color: #ffff0000
| outline-style: solid
| outline-width: thin
#reset
@@ -153,7 +153,7 @@
#errors
#expected
| *
-| outline-color: #ff000000
+| outline-color: #ffff0000
| outline-style: solid
| outline-width: thin
#reset
@@ -174,7 +174,7 @@
#errors
#expected
| *
-| outline-color: #ff000000 !important
+| outline-color: #ffff0000 !important
| outline-style: none !important
| outline-width: medium !important
#reset
@@ -204,7 +204,7 @@
#errors
#expected
| *
-| outline-color: #ff000000 !important
+| outline-color: #ffff0000 !important
| outline-style: solid !important
| outline-width: medium !important
#reset
@@ -214,7 +214,7 @@
#errors
#expected
| *
-| outline-color: #ff000000 !important
+| outline-color: #ffff0000 !important
| outline-style: solid !important
| outline-width: medium !important
#reset
@@ -224,7 +224,7 @@
#errors
#expected
| *
-| outline-color: #ff000000 !important
+| outline-color: #ffff0000 !important
| outline-style: none !important
| outline-width: thin !important
#reset
@@ -234,7 +234,7 @@
#errors
#expected
| *
-| outline-color: #ff000000 !important
+| outline-color: #ffff0000 !important
| outline-style: none !important
| outline-width: thin !important
#reset
@@ -264,7 +264,7 @@
#errors
#expected
| *
-| outline-color: #ff000000 !important
+| outline-color: #ffff0000 !important
| outline-style: solid !important
| outline-width: thin !important
#reset
@@ -274,7 +274,7 @@
#errors
#expected
| *
-| outline-color: #ff000000 !important
+| outline-color: #ffff0000 !important
| outline-style: solid !important
| outline-width: thin !important
#reset
@@ -284,7 +284,7 @@
#errors
#expected
| *
-| outline-color: #ff000000 !important
+| outline-color: #ffff0000 !important
| outline-style: solid !important
| outline-width: thin !important
#reset
@@ -294,7 +294,7 @@
#errors
#expected
| *
-| outline-color: #ff000000 !important
+| outline-color: #ffff0000 !important
| outline-style: solid !important
| outline-width: thin !important
#reset
@@ -304,7 +304,7 @@
#errors
#expected
| *
-| outline-color: #ff000000 !important
+| outline-color: #ffff0000 !important
| outline-style: solid !important
| outline-width: thin !important
#reset
@@ -314,7 +314,7 @@
#errors
#expected
| *
-| outline-color: #ff000000 !important
+| outline-color: #ffff0000 !important
| outline-style: solid !important
| outline-width: thin !important
#reset
@@ -347,7 +347,7 @@
#errors
#expected
| *
-| outline-color: #ff000000
+| outline-color: #ffff0000
#reset
#data
@@ -385,7 +385,7 @@
#errors
#expected
| *
-| outline-color: #ff000000 !important
+| outline-color: #ffff0000 !important
#reset
#data
diff --git a/test/data/parse2/tests1.dat b/test/data/parse2/tests1.dat
index 950edb9..9ba7ffc 100644
--- a/test/data/parse2/tests1.dat
+++ b/test/data/parse2/tests1.dat
@@ -10,7 +10,7 @@
#errors
#expected
| *
-| color: #ff000000
+| color: #ffff0000
#reset
#data
diff --git a/test/data/parse2/unknown-properties.dat b/test/data/parse2/unknown-properties.dat
index fcbba25..ad73e36 100644
--- a/test/data/parse2/unknown-properties.dat
+++ b/test/data/parse2/unknown-properties.dat
@@ -17,7 +17,7 @@
#errors
#expected
| *
-| color: #bbbbcc00
+| color: #ffbbbbcc
#reset
#data
diff --git a/test/data/select/tests1.dat b/test/data/select/tests1.dat
index 163e611..ba9f818 100644
--- a/test/data/select/tests1.dat
+++ b/test/data/select/tests1.dat
@@ -33,7 +33,7 @@ border-left-width: medium
bottom: auto
clear: none
clip: auto
-color: #ff000000
+color: #ffff0000
content: normal
counter-increment: none
counter-reset: none
@@ -234,10 +234,10 @@ background-position: 0% 0%
background-repeat: repeat
border-collapse: separate
border-spacing: 0px 0px
-border-top-color: #00000000
-border-right-color: #00000000
-border-bottom-color: #00000000
-border-left-color: #00000000
+border-top-color: #ff000000
+border-right-color: #ff000000
+border-bottom-color: #ff000000
+border-left-color: #ff000000
border-top-style: none
border-right-style: none
border-bottom-style: none
@@ -250,7 +250,7 @@ bottom: auto
caption_side: top
clear: none
clip: auto
-color: #00000000
+color: #ff000000
content: normal
counter-increment: none
counter-reset: none
@@ -313,16 +313,16 @@ div:active { background-color: #bbc; }
#errors
#expected
background-attachment: scroll
-background-color: #00000000
+background-color: #ff000000
background-image: none
background-position: 0% 0%
background-repeat: repeat
border-collapse: separate
border-spacing: 0px 0px
-border-top-color: #00000000
-border-right-color: #00000000
-border-bottom-color: #00000000
-border-left-color: #00000000
+border-top-color: #ff000000
+border-right-color: #ff000000
+border-bottom-color: #ff000000
+border-left-color: #ff000000
border-top-style: none
border-right-style: none
border-bottom-style: none
@@ -335,7 +335,7 @@ bottom: auto
caption_side: top
clear: none
clip: auto
-color: #00000000
+color: #ff000000
content: normal
counter-increment: none
counter-reset: none
@@ -398,7 +398,7 @@ p:first-child { background-color: #bbc; }
#errors
#expected
background-attachment: scroll
-background-color: #bbbbcc00
+background-color: #ffbbbbcc
background-image: none
background-position: 0% 0%
background-repeat: repeat
@@ -468,10 +468,10 @@ background-position: 0% 0%
background-repeat: repeat
border-collapse: separate
border-spacing: 0px 0px
-border-top-color: #00000000
-border-right-color: #00000000
-border-bottom-color: #00000000
-border-left-color: #00000000
+border-top-color: #ff000000
+border-right-color: #ff000000
+border-bottom-color: #ff000000
+border-left-color: #ff000000
border-top-style: none
border-right-style: none
border-bottom-style: none
@@ -484,7 +484,7 @@ bottom: auto
caption_side: top
clear: none
clip: auto
-color: #00000000
+color: #ff000000
content: normal
counter-increment: none
counter-reset: none
diff --git a/test/select-auto.c b/test/select-auto.c
index 039ea02..74f4a03 100644
--- a/test/select-auto.c
+++ b/test/select-auto.c
@@ -1194,7 +1194,7 @@ css_error ua_default_for_property(void *pw, uint32_t property, css_hint *hint)
UNUSED(pw);
if (property == CSS_PROP_COLOR) {
- hint->data.color = 0x00000000;
+ hint->data.color = 0xff000000;
hint->status = CSS_COLOR_COLOR;
} else if (property == CSS_PROP_FONT_FAMILY) {
hint->data.strings = NULL;