summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/data/parse2/margin.dat50
1 files changed, 50 insertions, 0 deletions
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
@@ -21,6 +21,31 @@
#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
#expected
@@ -66,6 +91,24 @@
#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
#expected
@@ -87,6 +130,13 @@
| margin-left: 0px !important
#reset
+#data
+* { margin: auto auto 10px !important 0; }
+#errors
+#expected
+| *
+#reset
+
#data
* { margin: invalid; }