From 816cf1eb0eb52256b46cf3dad15aeb1a650ee531 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Fri, 26 Jun 2009 18:49:12 +0000 Subject: Inherit tests. At least one currently fails. svn path=/trunk/libcss/; revision=8022 --- test/data/parse2/margin.dat | 50 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) (limited to 'test/data/parse2/margin.dat') diff --git a/test/data/parse2/margin.dat b/test/data/parse2/margin.dat index a1f9ef0..f079900 100644 --- a/test/data/parse2/margin.dat +++ b/test/data/parse2/margin.dat @@ -20,6 +20,31 @@ | margin-left: auto #reset +#data +* { margin: auto inherit; } +#errors +#expected +| * +#reset + +#data +* { margin: inherit; } +#errors +#expected +| * +| margin-top: inherit +| margin-right: inherit +| margin-bottom: inherit +| margin-left: inherit +#reset + +#data +* { margin: inherit auto auto; } +#errors +#expected +| * +#reset + #data * { margin: auto auto 0; } #errors @@ -65,6 +90,24 @@ | margin-left: auto !important #reset +#data +* { margin: auto auto inherit auto ! important; } +#errors +#expected +| * +#reset + +#data +* { margin: inherit !important; } +#errors +#expected +| * +| margin-top: inherit !important +| margin-right: inherit !important +| margin-bottom: inherit !important +| margin-left: inherit !important +#reset + #data * { margin: auto auto 0 !important; } #errors @@ -87,6 +130,13 @@ | margin-left: 0px !important #reset +#data +* { margin: auto auto 10px !important 0; } +#errors +#expected +| * +#reset + #data * { margin: invalid; } -- cgit v1.2.3