summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-06-27 15:34:10 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-06-27 15:34:10 +0000
commit03ef066be45b8a30f2e3e7cb4ad662b8c0e237ec (patch)
tree3f02e8c16c4c22a6d3a72554da3993d0a2b19107
parentd29795547f15919ea440a6a6f8e946097e5610fd (diff)
downloadlibcss-03ef066be45b8a30f2e3e7cb4ad662b8c0e237ec.tar.gz
libcss-03ef066be45b8a30f2e3e7cb4ad662b8c0e237ec.tar.bz2
Outline and border tests.
svn path=/trunk/libcss/; revision=8063
-rw-r--r--test/data/parse2/INDEX2
-rw-r--r--test/data/parse2/border.dat1663
-rw-r--r--test/data/parse2/outline.dat662
3 files changed, 2327 insertions, 0 deletions
diff --git a/test/data/parse2/INDEX b/test/data/parse2/INDEX
index 13a3263..0a248ed 100644
--- a/test/data/parse2/INDEX
+++ b/test/data/parse2/INDEX
@@ -12,5 +12,7 @@ unknown-properties.dat Unknown property tests
bgpos.dat Illegal background-position values
au.dat Aural property tests
bg.dat Background property tests
+border.dat Border property tests
margin.dat Margin property tests
+outline.dat Outline property tests
padding.dat Padding property tests \ No newline at end of file
diff --git a/test/data/parse2/border.dat b/test/data/parse2/border.dat
new file mode 100644
index 0000000..1bce035
--- /dev/null
+++ b/test/data/parse2/border.dat
@@ -0,0 +1,1663 @@
+#data
+* { border: inherit; }
+#errors
+#expected
+| *
+| border-top-color: inherit
+| border-top-style: inherit
+| border-top-width: inherit
+| border-right-color: inherit
+| border-right-style: inherit
+| border-right-width: inherit
+| border-bottom-color: inherit
+| border-bottom-style: inherit
+| border-bottom-width: inherit
+| border-left-color: inherit
+| border-left-style: inherit
+| border-left-width: inherit
+#reset
+
+#data
+* { border: red; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-top-style: none
+| border-top-width: medium
+| border-right-color: #ff000000
+| border-right-style: none
+| border-right-width: medium
+| border-bottom-color: #ff000000
+| border-bottom-style: none
+| border-bottom-width: medium
+| border-left-color: #ff000000
+| border-left-style: none
+| border-left-width: medium
+#reset
+
+#data
+* { border: solid; }
+#errors
+#expected
+| *
+| border-top-style: solid
+| border-top-width: medium
+| border-right-style: solid
+| border-right-width: medium
+| border-bottom-style: solid
+| border-bottom-width: medium
+| border-left-style: solid
+| border-left-width: medium
+#reset
+
+#data
+* { border: thin; }
+#errors
+#expected
+| *
+| border-top-style: none
+| border-top-width: thin
+| border-right-style: none
+| border-right-width: thin
+| border-bottom-style: none
+| border-bottom-width: thin
+| border-left-style: none
+| border-left-width: thin
+#reset
+
+#data
+* { border: red solid; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-top-style: solid
+| border-top-width: medium
+| border-right-color: #ff000000
+| border-right-style: solid
+| border-right-width: medium
+| border-bottom-color: #ff000000
+| border-bottom-style: solid
+| border-bottom-width: medium
+| border-left-color: #ff000000
+| border-left-style: solid
+| border-left-width: medium
+#reset
+
+#data
+* { border: solid red; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-top-style: solid
+| border-top-width: medium
+| border-right-color: #ff000000
+| border-right-style: solid
+| border-right-width: medium
+| border-bottom-color: #ff000000
+| border-bottom-style: solid
+| border-bottom-width: medium
+| border-left-color: #ff000000
+| border-left-style: solid
+| border-left-width: medium
+#reset
+
+#data
+* { border: red thin; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-top-style: none
+| border-top-width: thin
+| border-right-color: #ff000000
+| border-right-style: none
+| border-right-width: thin
+| border-bottom-color: #ff000000
+| border-bottom-style: none
+| border-bottom-width: thin
+| border-left-color: #ff000000
+| border-left-style: none
+| border-left-width: thin
+#reset
+
+#data
+* { border: thin red; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-top-style: none
+| border-top-width: thin
+| border-right-color: #ff000000
+| border-right-style: none
+| border-right-width: thin
+| border-bottom-color: #ff000000
+| border-bottom-style: none
+| border-bottom-width: thin
+| border-left-color: #ff000000
+| border-left-style: none
+| border-left-width: thin
+#reset
+
+#data
+* { border: solid thin; }
+#errors
+#expected
+| *
+| border-top-style: solid
+| border-top-width: thin
+| border-right-style: solid
+| border-right-width: thin
+| border-bottom-style: solid
+| border-bottom-width: thin
+| border-left-style: solid
+| border-left-width: thin
+#reset
+
+#data
+* { border: thin solid; }
+#errors
+#expected
+| *
+| border-top-style: solid
+| border-top-width: thin
+| border-right-style: solid
+| border-right-width: thin
+| border-bottom-style: solid
+| border-bottom-width: thin
+| border-left-style: solid
+| border-left-width: thin
+#reset
+
+#data
+* { border: red solid thin; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-top-style: solid
+| border-top-width: thin
+| border-right-color: #ff000000
+| border-right-style: solid
+| border-right-width: thin
+| border-bottom-color: #ff000000
+| border-bottom-style: solid
+| border-bottom-width: thin
+| border-left-color: #ff000000
+| border-left-style: solid
+| border-left-width: thin
+#reset
+
+#data
+* { border: red thin solid; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-top-style: solid
+| border-top-width: thin
+| border-right-color: #ff000000
+| border-right-style: solid
+| border-right-width: thin
+| border-bottom-color: #ff000000
+| border-bottom-style: solid
+| border-bottom-width: thin
+| border-left-color: #ff000000
+| border-left-style: solid
+| border-left-width: thin
+#reset
+
+#data
+* { border: solid red thin; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-top-style: solid
+| border-top-width: thin
+| border-right-color: #ff000000
+| border-right-style: solid
+| border-right-width: thin
+| border-bottom-color: #ff000000
+| border-bottom-style: solid
+| border-bottom-width: thin
+| border-left-color: #ff000000
+| border-left-style: solid
+| border-left-width: thin
+#reset
+
+#data
+* { border: solid thin red; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-top-style: solid
+| border-top-width: thin
+| border-right-color: #ff000000
+| border-right-style: solid
+| border-right-width: thin
+| border-bottom-color: #ff000000
+| border-bottom-style: solid
+| border-bottom-width: thin
+| border-left-color: #ff000000
+| border-left-style: solid
+| border-left-width: thin
+#reset
+
+#data
+* { border: thin red solid; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-top-style: solid
+| border-top-width: thin
+| border-right-color: #ff000000
+| border-right-style: solid
+| border-right-width: thin
+| border-bottom-color: #ff000000
+| border-bottom-style: solid
+| border-bottom-width: thin
+| border-left-color: #ff000000
+| border-left-style: solid
+| border-left-width: thin
+#reset
+
+#data
+* { border: thin solid red; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-top-style: solid
+| border-top-width: thin
+| border-right-color: #ff000000
+| border-right-style: solid
+| border-right-width: thin
+| border-bottom-color: #ff000000
+| border-bottom-style: solid
+| border-bottom-width: thin
+| border-left-color: #ff000000
+| border-left-style: solid
+| border-left-width: thin
+#reset
+
+
+#data
+* { border: inherit !important; }
+#errors
+#expected
+| *
+| border-top-color: inherit !important
+| border-top-style: inherit !important
+| border-top-width: inherit !important
+| border-right-color: inherit !important
+| border-right-style: inherit !important
+| border-right-width: inherit !important
+| border-bottom-color: inherit !important
+| border-bottom-style: inherit !important
+| border-bottom-width: inherit !important
+| border-left-color: inherit !important
+| border-left-style: inherit !important
+| border-left-width: inherit !important
+#reset
+
+#data
+* { border: red !important; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000 !important
+| border-top-style: none !important
+| border-top-width: medium !important
+| border-right-color: #ff000000 !important
+| border-right-style: none !important
+| border-right-width: medium !important
+| border-bottom-color: #ff000000 !important
+| border-bottom-style: none !important
+| border-bottom-width: medium !important
+| border-left-color: #ff000000 !important
+| border-left-style: none !important
+| border-left-width: medium !important
+#reset
+
+#data
+* { border: solid !important; }
+#errors
+#expected
+| *
+| border-top-style: solid !important
+| border-top-width: medium !important
+| border-right-style: solid !important
+| border-right-width: medium !important
+| border-bottom-style: solid !important
+| border-bottom-width: medium !important
+| border-left-style: solid !important
+| border-left-width: medium !important
+#reset
+
+#data
+* { border: thin !important; }
+#errors
+#expected
+| *
+| border-top-style: none !important
+| border-top-width: thin !important
+| border-right-style: none !important
+| border-right-width: thin !important
+| border-bottom-style: none !important
+| border-bottom-width: thin !important
+| border-left-style: none !important
+| border-left-width: thin !important
+#reset
+
+#data
+* { border: red solid !important; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000 !important
+| border-top-style: solid !important
+| border-top-width: medium !important
+| border-right-color: #ff000000 !important
+| border-right-style: solid !important
+| border-right-width: medium !important
+| border-bottom-color: #ff000000 !important
+| border-bottom-style: solid !important
+| border-bottom-width: medium !important
+| border-left-color: #ff000000 !important
+| border-left-style: solid !important
+| border-left-width: medium !important
+#reset
+
+#data
+* { border: solid red !important; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000 !important
+| border-top-style: solid !important
+| border-top-width: medium !important
+| border-right-color: #ff000000 !important
+| border-right-style: solid !important
+| border-right-width: medium !important
+| border-bottom-color: #ff000000 !important
+| border-bottom-style: solid !important
+| border-bottom-width: medium !important
+| border-left-color: #ff000000 !important
+| border-left-style: solid !important
+| border-left-width: medium !important
+#reset
+
+#data
+* { border: red thin !important; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000 !important
+| border-top-style: none !important
+| border-top-width: thin !important
+| border-right-color: #ff000000 !important
+| border-right-style: none !important
+| border-right-width: thin !important
+| border-bottom-color: #ff000000 !important
+| border-bottom-style: none !important
+| border-bottom-width: thin !important
+| border-left-color: #ff000000 !important
+| border-left-style: none !important
+| border-left-width: thin !important
+#reset
+
+#data
+* { border: thin red !important; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000 !important
+| border-top-style: none !important
+| border-top-width: thin !important
+| border-right-color: #ff000000 !important
+| border-right-style: none !important
+| border-right-width: thin !important
+| border-bottom-color: #ff000000 !important
+| border-bottom-style: none !important
+| border-bottom-width: thin !important
+| border-left-color: #ff000000 !important
+| border-left-style: none !important
+| border-left-width: thin !important
+#reset
+
+#data
+* { border: solid thin !important; }
+#errors
+#expected
+| *
+| border-top-style: solid !important
+| border-top-width: thin !important
+| border-right-style: solid !important
+| border-right-width: thin !important
+| border-bottom-style: solid !important
+| border-bottom-width: thin !important
+| border-left-style: solid !important
+| border-left-width: thin !important
+#reset
+
+#data
+* { border: thin solid !important; }
+#errors
+#expected
+| *
+| border-top-style: solid !important
+| border-top-width: thin !important
+| border-right-style: solid !important
+| border-right-width: thin !important
+| border-bottom-style: solid !important
+| border-bottom-width: thin !important
+| border-left-style: solid !important
+| border-left-width: thin !important
+#reset
+
+#data
+* { border: red solid thin !important; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000 !important
+| border-top-style: solid !important
+| border-top-width: thin !important
+| border-right-color: #ff000000 !important
+| border-right-style: solid !important
+| border-right-width: thin !important
+| border-bottom-color: #ff000000 !important
+| border-bottom-style: solid !important
+| border-bottom-width: thin !important
+| border-left-color: #ff000000 !important
+| border-left-style: solid !important
+| border-left-width: thin !important
+#reset
+
+#data
+* { border: red thin solid !important; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000 !important
+| border-top-style: solid !important
+| border-top-width: thin !important
+| border-right-color: #ff000000 !important
+| border-right-style: solid !important
+| border-right-width: thin !important
+| border-bottom-color: #ff000000 !important
+| border-bottom-style: solid !important
+| border-bottom-width: thin !important
+| border-left-color: #ff000000 !important
+| border-left-style: solid !important
+| border-left-width: thin !important
+#reset
+
+#data
+* { border: solid red thin !important; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000 !important
+| border-top-style: solid !important
+| border-top-width: thin !important
+| border-right-color: #ff000000 !important
+| border-right-style: solid !important
+| border-right-width: thin !important
+| border-bottom-color: #ff000000 !important
+| border-bottom-style: solid !important
+| border-bottom-width: thin !important
+| border-left-color: #ff000000 !important
+| border-left-style: solid !important
+| border-left-width: thin !important
+#reset
+
+#data
+* { border: solid thin red !important; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000 !important
+| border-top-style: solid !important
+| border-top-width: thin !important
+| border-right-color: #ff000000 !important
+| border-right-style: solid !important
+| border-right-width: thin !important
+| border-bottom-color: #ff000000 !important
+| border-bottom-style: solid !important
+| border-bottom-width: thin !important
+| border-left-color: #ff000000 !important
+| border-left-style: solid !important
+| border-left-width: thin !important
+#reset
+
+#data
+* { border: thin red solid !important; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000 !important
+| border-top-style: solid !important
+| border-top-width: thin !important
+| border-right-color: #ff000000 !important
+| border-right-style: solid !important
+| border-right-width: thin !important
+| border-bottom-color: #ff000000 !important
+| border-bottom-style: solid !important
+| border-bottom-width: thin !important
+| border-left-color: #ff000000 !important
+| border-left-style: solid !important
+| border-left-width: thin !important
+#reset
+
+#data
+* { border: thin solid red !important; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000 !important
+| border-top-style: solid !important
+| border-top-width: thin !important
+| border-right-color: #ff000000 !important
+| border-right-style: solid !important
+| border-right-width: thin !important
+| border-bottom-color: #ff000000 !important
+| border-bottom-style: solid !important
+| border-bottom-width: thin !important
+| border-left-color: #ff000000 !important
+| border-left-style: solid !important
+| border-left-width: thin !important
+#reset
+
+
+#data
+* { border: invalid; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border: ; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border:}
+#errors
+#expected
+| *
+#reset
+
+
+#data
+* { border-color: red; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-right-color: #ff000000
+| border-bottom-color: #ff000000
+| border-left-color: #ff000000
+#reset
+
+#data
+* { border-color: inherit; }
+#errors
+#expected
+| *
+| border-top-color: inherit
+| border-right-color: inherit
+| border-bottom-color: inherit
+| border-left-color: inherit
+#reset
+
+#data
+* { border-color: red green; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-right-color: #00800000
+| border-bottom-color: #ff000000
+| border-left-color: #00800000
+#reset
+
+#data
+* { border-color: red green blue; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-right-color: #00800000
+| border-bottom-color: #0000ff00
+| border-left-color: #00800000
+#reset
+
+#data
+* { border-color: red green blue yellow; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-right-color: #00800000
+| border-bottom-color: #0000ff00
+| border-left-color: #ffff0000
+#reset
+
+
+#data
+* { border-color: red !important; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000 !important
+| border-right-color: #ff000000 !important
+| border-bottom-color: #ff000000 !important
+| border-left-color: #ff000000 !important
+#reset
+
+#data
+* { border-color: red green !important; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000 !important
+| border-right-color: #00800000 !important
+| border-bottom-color: #ff000000 !important
+| border-left-color: #00800000 !important
+#reset
+
+#data
+* { border-color: red green blue !important; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000 !important
+| border-right-color: #00800000 !important
+| border-bottom-color: #0000ff00 !important
+| border-left-color: #00800000 !important
+#reset
+
+#data
+* { border-color: red green blue yellow !important; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000 !important
+| border-right-color: #00800000 !important
+| border-bottom-color: #0000ff00 !important
+| border-left-color: #ffff0000 !important
+#reset
+
+
+#data
+* { border-color: invalid; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-color: ; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-color:}
+#errors
+#expected
+| *
+#reset
+
+
+#data
+* { border-style: solid; }
+#errors
+#expected
+| *
+| border-top-style: solid
+| border-right-style: solid
+| border-bottom-style: solid
+| border-left-style: solid
+#reset
+
+#data
+* { border-style: inherit; }
+#errors
+#expected
+| *
+| border-top-style: inherit
+| border-right-style: inherit
+| border-bottom-style: inherit
+| border-left-style: inherit
+#reset
+
+#data
+* { border-style: solid double; }
+#errors
+#expected
+| *
+| border-top-style: solid
+| border-right-style: double
+| border-bottom-style: solid
+| border-left-style: double
+#reset
+
+#data
+* { border-style: solid double groove; }
+#errors
+#expected
+| *
+| border-top-style: solid
+| border-right-style: double
+| border-bottom-style: groove
+| border-left-style: double
+#reset
+
+#data
+* { border-style: solid double groove ridge; }
+#errors
+#expected
+| *
+| border-top-style: solid
+| border-right-style: double
+| border-bottom-style: groove
+| border-left-style: ridge
+#reset
+
+
+#data
+* { border-style: solid !important; }
+#errors
+#expected
+| *
+| border-top-style: solid !important
+| border-right-style: solid !important
+| border-bottom-style: solid !important
+| border-left-style: solid !important
+#reset
+
+#data
+* { border-style: solid double !important; }
+#errors
+#expected
+| *
+| border-top-style: solid !important
+| border-right-style: double !important
+| border-bottom-style: solid !important
+| border-left-style: double !important
+#reset
+
+#data
+* { border-style: solid double groove !important; }
+#errors
+#expected
+| *
+| border-top-style: solid !important
+| border-right-style: double !important
+| border-bottom-style: groove !important
+| border-left-style: double !important
+#reset
+
+#data
+* { border-style: solid double groove ridge !important; }
+#errors
+#expected
+| *
+| border-top-style: solid !important
+| border-right-style: double !important
+| border-bottom-style: groove !important
+| border-left-style: ridge !important
+#reset
+
+
+#data
+* { border-style: invalid; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-style: ; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-style:}
+#errors
+#expected
+| *
+#reset
+
+
+#data
+* { border-width: thin; }
+#errors
+#expected
+| *
+| border-top-width: thin
+| border-right-width: thin
+| border-bottom-width: thin
+| border-left-width: thin
+#reset
+
+#data
+* { border-width: inherit; }
+#errors
+#expected
+| *
+| border-top-width: inherit
+| border-right-width: inherit
+| border-bottom-width: inherit
+| border-left-width: inherit
+#reset
+
+#data
+* { border-width: thin thick; }
+#errors
+#expected
+| *
+| border-top-width: thin
+| border-right-width: thick
+| border-bottom-width: thin
+| border-left-width: thick
+#reset
+
+#data
+* { border-width: thin thick medium; }
+#errors
+#expected
+| *
+| border-top-width: thin
+| border-right-width: thick
+| border-bottom-width: medium
+| border-left-width: thick
+#reset
+
+#data
+* { border-width: thin thick medium 0; }
+#errors
+#expected
+| *
+| border-top-width: thin
+| border-right-width: thick
+| border-bottom-width: medium
+| border-left-width: 0px
+#reset
+
+
+#data
+* { border-width: thin !important; }
+#errors
+#expected
+| *
+| border-top-width: thin !important
+| border-right-width: thin !important
+| border-bottom-width: thin !important
+| border-left-width: thin !important
+#reset
+
+#data
+* { border-width: thin thick !important; }
+#errors
+#expected
+| *
+| border-top-width: thin !important
+| border-right-width: thick !important
+| border-bottom-width: thin !important
+| border-left-width: thick !important
+#reset
+
+#data
+* { border-width: thin thick medium !important; }
+#errors
+#expected
+| *
+| border-top-width: thin !important
+| border-right-width: thick !important
+| border-bottom-width: medium !important
+| border-left-width: thick !important
+#reset
+
+#data
+* { border-width: thin thick medium 0 !important; }
+#errors
+#expected
+| *
+| border-top-width: thin !important
+| border-right-width: thick !important
+| border-bottom-width: medium !important
+| border-left-width: 0px !important
+#reset
+
+
+#data
+* { border-width: invalid; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-width: ; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-width:}
+#errors
+#expected
+| *
+#reset
+
+
+
+
+#data
+* { border-top: inherit; }
+#errors
+#expected
+| *
+| border-top-color: inherit
+| border-top-style: inherit
+| border-top-width: inherit
+#reset
+
+#data
+* { border-top: red; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-top-style: none
+| border-top-width: medium
+#reset
+
+#data
+* { border-top: solid; }
+#errors
+#expected
+| *
+| border-top-style: solid
+| border-top-width: medium
+#reset
+
+#data
+* { border-top: thin; }
+#errors
+#expected
+| *
+| border-top-style: none
+| border-top-width: thin
+#reset
+
+#data
+* { border-top: red solid; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-top-style: solid
+| border-top-width: medium
+#reset
+
+#data
+* { border-top: thin solid red; }
+#errors
+#expected
+| *
+| border-top-color: #ff000000
+| border-top-style: solid
+| border-top-width: thin
+#reset
+
+#data
+* { border-right: inherit; }
+#errors
+#expected
+| *
+| border-right-color: inherit
+| border-right-style: inherit
+| border-right-width: inherit
+#reset
+
+#data
+* { border-right: red; }
+#errors
+#expected
+| *
+| border-right-color: #ff000000
+| border-right-style: none
+| border-right-width: medium
+#reset
+
+#data
+* { border-right: solid; }
+#errors
+#expected
+| *
+| border-right-style: solid
+| border-right-width: medium
+#reset
+
+#data
+* { border-right: thin; }
+#errors
+#expected
+| *
+| border-right-style: none
+| border-right-width: thin
+#reset
+
+#data
+* { border-right: red solid; }
+#errors
+#expected
+| *
+| border-right-color: #ff000000
+| border-right-style: solid
+| border-right-width: medium
+#reset
+
+#data
+* { border-right: thin solid red; }
+#errors
+#expected
+| *
+| border-right-color: #ff000000
+| border-right-style: solid
+| border-right-width: thin
+#reset
+
+#data
+* { border-bottom: inherit; }
+#errors
+#expected
+| *
+| border-bottom-color: inherit
+| border-bottom-style: inherit
+| border-bottom-width: inherit
+#reset
+
+#data
+* { border-bottom: red; }
+#errors
+#expected
+| *
+| border-bottom-color: #ff000000
+| border-bottom-style: none
+| border-bottom-width: medium
+#reset
+
+#data
+* { border-bottom: solid; }
+#errors
+#expected
+| *
+| border-bottom-style: solid
+| border-bottom-width: medium
+#reset
+
+#data
+* { border-bottom: thin; }
+#errors
+#expected
+| *
+| border-bottom-style: none
+| border-bottom-width: thin
+#reset
+
+#data
+* { border-bottom: red solid; }
+#errors
+#expected
+| *
+| border-bottom-color: #ff000000
+| border-bottom-style: solid
+| border-bottom-width: medium
+#reset
+
+#data
+* { border-bottom: thin solid red; }
+#errors
+#expected
+| *
+| border-bottom-color: #ff000000
+| border-bottom-style: solid
+| border-bottom-width: thin
+#reset
+
+#data
+* { border-left: inherit; }
+#errors
+#expected
+| *
+| border-left-color: inherit
+| border-left-style: inherit
+| border-left-width: inherit
+#reset
+
+#data
+* { border-left: red; }
+#errors
+#expected
+| *
+| border-left-color: #ff000000
+| border-left-style: none
+| border-left-width: medium
+#reset
+
+#data
+* { border-left: solid; }
+#errors
+#expected
+| *
+| border-left-style: solid
+| border-left-width: medium
+#reset
+
+#data
+* { border-left: thin; }
+#errors
+#expected
+| *
+| border-left-style: none
+| border-left-width: thin
+#reset
+
+#data
+* { border-left: red solid; }
+#errors
+#expected
+| *
+| border-left-color: #ff000000
+| border-left-style: solid
+| border-left-width: medium
+#reset
+
+#data
+* { border-left: thin solid red; }
+#errors
+#expected
+| *
+| border-left-color: #ff000000
+| border-left-style: solid
+| border-left-width: thin
+#reset
+
+#data
+* { border-collapse: inherit; }
+#errors
+#expected
+| *
+| border-collapse: inherit
+#reset
+
+#data
+* { border-spacing: inherit; }
+#errors
+#expected
+| *
+| border-spacing: inherit
+#reset
+
+#data
+* { border-top-color: inherit; }
+#errors
+#expected
+| *
+| border-top-color: inherit
+#reset
+
+#data
+* { border-right-style: inherit; }
+#errors
+#expected
+| *
+| border-right-style: inherit
+#reset
+
+#data
+* { border-bottom-width: inherit; }
+#errors
+#expected
+| *
+| border-bottom-width: inherit
+#reset
+
+#data
+* { border-left-color: inherit !important; }
+#errors
+#expected
+| *
+| border-left-color: inherit !important
+#reset
+
+
+
+
+#data
+* { border: red inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border: red inherit red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border: red red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border: inherit red medium; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border: inherit red medium inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border: red medium inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border: inherit inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border: none inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border: none inherit red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-width: inherit inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-width: 0 inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-width: 0 inherit 0; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-width: inherit 0 inherit 0; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-width: thin inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-color: blue inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-color: inherit blue; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-color: inherit inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-color: thin; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-color: blue inherit green blue; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-style: solid inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-style: inherit solid; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-style: inherit inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-top: red inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-top: red inherit red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-top: red red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-top: inherit red medium; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-top: inherit red medium inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-top: red medium inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-top: inherit inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-top: none inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-top: none inherit red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-left: red inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-left: red inherit red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-left: red red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-left: inherit red medium; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-left: inherit red medium inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-left: red medium inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-left: inherit inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-left: none inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-left: none inherit red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-right: red inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-right: red inherit red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-right: red red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-right: inherit red medium; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-right: inherit red medium inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-right: red medium inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-right: inherit inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-right: none inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-right: none inherit red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-bottom: red inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-bottom: red inherit red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-bottom: red red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-bottom: inherit red medium; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-bottom: inherit red medium inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-bottom: red medium inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-bottom: inherit inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-bottom: none inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { border-bottom: none inherit red; }
+#errors
+#expected
+| *
+#reset
+
+
+
+
diff --git a/test/data/parse2/outline.dat b/test/data/parse2/outline.dat
new file mode 100644
index 0000000..b6a9fce
--- /dev/null
+++ b/test/data/parse2/outline.dat
@@ -0,0 +1,662 @@
+#data
+* { outline: inherit; }
+#errors
+#expected
+| *
+| outline-color: inherit
+| outline-style: inherit
+| outline-width: inherit
+#reset
+
+#data
+* { outline: red; }
+#errors
+#expected
+| *
+| outline-color: #ff000000
+| outline-style: none
+| outline-width: medium
+#reset
+
+#data
+* { outline: solid; }
+#errors
+#expected
+| *
+| outline-color: invert
+| outline-style: solid
+| outline-width: medium
+#reset
+
+#data
+* { outline: thin; }
+#errors
+#expected
+| *
+| outline-color: invert
+| outline-style: none
+| outline-width: thin
+#reset
+
+#data
+* { outline: red solid; }
+#errors
+#expected
+| *
+| outline-color: #ff000000
+| outline-style: solid
+| outline-width: medium
+#reset
+
+#data
+* { outline: solid red; }
+#errors
+#expected
+| *
+| outline-color: #ff000000
+| outline-style: solid
+| outline-width: medium
+#reset
+
+#data
+* { outline: red thin; }
+#errors
+#expected
+| *
+| outline-color: #ff000000
+| outline-style: none
+| outline-width: thin
+#reset
+
+#data
+* { outline: thin red; }
+#errors
+#expected
+| *
+| outline-color: #ff000000
+| outline-style: none
+| outline-width: thin
+#reset
+
+#data
+* { outline: solid thin; }
+#errors
+#expected
+| *
+| outline-color: invert
+| outline-style: solid
+| outline-width: thin
+#reset
+
+#data
+* { outline: thin solid; }
+#errors
+#expected
+| *
+| outline-color: invert
+| outline-style: solid
+| outline-width: thin
+#reset
+
+#data
+* { outline: red solid thin; }
+#errors
+#expected
+| *
+| outline-color: #ff000000
+| outline-style: solid
+| outline-width: thin
+#reset
+
+#data
+* { outline: red thin solid; }
+#errors
+#expected
+| *
+| outline-color: #ff000000
+| outline-style: solid
+| outline-width: thin
+#reset
+
+#data
+* { outline: solid red thin; }
+#errors
+#expected
+| *
+| outline-color: #ff000000
+| outline-style: solid
+| outline-width: thin
+#reset
+
+#data
+* { outline: solid thin red; }
+#errors
+#expected
+| *
+| outline-color: #ff000000
+| outline-style: solid
+| outline-width: thin
+#reset
+
+#data
+* { outline: thin red solid; }
+#errors
+#expected
+| *
+| outline-color: #ff000000
+| outline-style: solid
+| outline-width: thin
+#reset
+
+#data
+* { outline: thin solid red; }
+#errors
+#expected
+| *
+| outline-color: #ff000000
+| outline-style: solid
+| outline-width: thin
+#reset
+
+
+#data
+* { outline: inherit !important; }
+#errors
+#expected
+| *
+| outline-color: inherit !important
+| outline-style: inherit !important
+| outline-width: inherit !important
+#reset
+
+#data
+* { outline: red !important; }
+#errors
+#expected
+| *
+| outline-color: #ff000000 !important
+| outline-style: none !important
+| outline-width: medium !important
+#reset
+
+#data
+* { outline: solid !important; }
+#errors
+#expected
+| *
+| outline-color: invert !important
+| outline-style: solid !important
+| outline-width: medium !important
+#reset
+
+#data
+* { outline: thin !important; }
+#errors
+#expected
+| *
+| outline-color: invert !important
+| outline-style: none !important
+| outline-width: thin !important
+#reset
+
+#data
+* { outline: red solid !important; }
+#errors
+#expected
+| *
+| outline-color: #ff000000 !important
+| outline-style: solid !important
+| outline-width: medium !important
+#reset
+
+#data
+* { outline: solid red !important; }
+#errors
+#expected
+| *
+| outline-color: #ff000000 !important
+| outline-style: solid !important
+| outline-width: medium !important
+#reset
+
+#data
+* { outline: red thin !important; }
+#errors
+#expected
+| *
+| outline-color: #ff000000 !important
+| outline-style: none !important
+| outline-width: thin !important
+#reset
+
+#data
+* { outline: thin red !important; }
+#errors
+#expected
+| *
+| outline-color: #ff000000 !important
+| outline-style: none !important
+| outline-width: thin !important
+#reset
+
+#data
+* { outline: solid thin !important; }
+#errors
+#expected
+| *
+| outline-color: invert !important
+| outline-style: solid !important
+| outline-width: thin !important
+#reset
+
+#data
+* { outline: thin solid !important; }
+#errors
+#expected
+| *
+| outline-color: invert !important
+| outline-style: solid !important
+| outline-width: thin !important
+#reset
+
+#data
+* { outline: red solid thin !important; }
+#errors
+#expected
+| *
+| outline-color: #ff000000 !important
+| outline-style: solid !important
+| outline-width: thin !important
+#reset
+
+#data
+* { outline: red thin solid !important; }
+#errors
+#expected
+| *
+| outline-color: #ff000000 !important
+| outline-style: solid !important
+| outline-width: thin !important
+#reset
+
+#data
+* { outline: solid red thin !important; }
+#errors
+#expected
+| *
+| outline-color: #ff000000 !important
+| outline-style: solid !important
+| outline-width: thin !important
+#reset
+
+#data
+* { outline: solid thin red !important; }
+#errors
+#expected
+| *
+| outline-color: #ff000000 !important
+| outline-style: solid !important
+| outline-width: thin !important
+#reset
+
+#data
+* { outline: thin red solid !important; }
+#errors
+#expected
+| *
+| outline-color: #ff000000 !important
+| outline-style: solid !important
+| outline-width: thin !important
+#reset
+
+#data
+* { outline: thin solid red !important; }
+#errors
+#expected
+| *
+| outline-color: #ff000000 !important
+| outline-style: solid !important
+| outline-width: thin !important
+#reset
+
+
+#data
+* { outline: invalid; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline: ; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline:}
+#errors
+#expected
+| *
+#reset
+
+
+#data
+* { outline-color: red; }
+#errors
+#expected
+| *
+| outline-color: #ff000000
+#reset
+
+#data
+* { outline-color: inherit; }
+#errors
+#expected
+| *
+| outline-color: inherit
+#reset
+
+#data
+* { outline-color: red green; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-color: red green blue; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-color: red green blue yellow; }
+#errors
+#expected
+| *
+#reset
+
+
+#data
+* { outline-color: red !important; }
+#errors
+#expected
+| *
+| outline-color: #ff000000 !important
+#reset
+
+#data
+* { outline-color: red green !important; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-color: red green blue !important; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-color: red green blue yellow !important; }
+#errors
+#expected
+| *
+#reset
+
+
+#data
+* { outline-color: invalid; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-color: ; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-color:}
+#errors
+#expected
+| *
+#reset
+
+
+#data
+* { outline-style: solid; }
+#errors
+#expected
+| *
+| outline-style: solid
+#reset
+
+#data
+* { outline-style: inherit; }
+#errors
+#expected
+| *
+| outline-style: inherit
+#reset
+
+#data
+* { outline-style: solid double; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-style: solid double groove; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-style: solid double groove ridge; }
+#errors
+#expected
+| *
+#reset
+
+
+#data
+* { outline-style: solid !important; }
+#errors
+#expected
+| *
+| outline-style: solid !important
+#reset
+
+#data
+* { outline-style: solid double !important; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-style: solid double groove !important; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-style: solid double groove ridge !important; }
+#errors
+#expected
+| *
+#reset
+
+
+#data
+* { outline-style: invalid; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-style: ; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-style:}
+#errors
+#expected
+| *
+#reset
+
+
+#data
+* { outline-width: thin; }
+#errors
+#expected
+| *
+| outline-width: thin
+#reset
+
+#data
+* { outline-width: inherit; }
+#errors
+#expected
+| *
+| outline-width: inherit
+#reset
+
+#data
+* { outline-width: thin thick; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-width: thin thick medium; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-width: thin thick medium 0; }
+#errors
+#expected
+| *
+#reset
+
+
+#data
+* { outline-width: thin !important; }
+#errors
+#expected
+| *
+| outline-width: thin !important
+#reset
+
+#data
+* { outline-width: thin thick !important; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-width: thin thick medium !important; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-width: thin thick medium 0 !important; }
+#errors
+#expected
+| *
+#reset
+
+
+#data
+* { outline-width: invalid; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-width: ; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline-width:}
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline: red inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline: inherit inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline: inherit red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline: thin inherit red; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline: thin inherit; }
+#errors
+#expected
+| *
+#reset
+
+#data
+* { outline: solid inherit; }
+#errors
+#expected
+| *
+#reset
+
+
+
+
+
+
+
+