summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-12-21 23:23:05 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-12-22 22:29:38 -0500
commit2b6ab1b8bd0739d21ac60be4bf919e1c354f3510 (patch)
tree7029b10349d7a5465f6a4e0fed8726d7d64a54cf
parenta0487f0516babb12a8e20caddca4473e151b0bc4 (diff)
downloadgtk+-2b6ab1b8bd0739d21ac60be4bf919e1c354f3510.tar.gz
Add parser tests for min-width and min-height
-rw-r--r--testsuite/css/parser/min-height.css19
-rw-r--r--testsuite/css/parser/min-height.ref.css19
-rw-r--r--testsuite/css/parser/min-width.css19
-rw-r--r--testsuite/css/parser/min-width.ref.css19
4 files changed, 76 insertions, 0 deletions
diff --git a/testsuite/css/parser/min-height.css b/testsuite/css/parser/min-height.css
new file mode 100644
index 0000000000..66769fe73c
--- /dev/null
+++ b/testsuite/css/parser/min-height.css
@@ -0,0 +1,19 @@
+a {
+ min-height: initial;
+}
+
+b {
+ min-height: inherit;
+}
+
+c {
+ min-height: unset;
+}
+
+d {
+ min-height: 0px;
+}
+
+e {
+ min-height: 2em;
+}
diff --git a/testsuite/css/parser/min-height.ref.css b/testsuite/css/parser/min-height.ref.css
new file mode 100644
index 0000000000..13657ed8b2
--- /dev/null
+++ b/testsuite/css/parser/min-height.ref.css
@@ -0,0 +1,19 @@
+a {
+ min-height: initial;
+}
+
+b {
+ min-height: inherit;
+}
+
+c {
+ min-height: unset;
+}
+
+d {
+ min-height: 0;
+}
+
+e {
+ min-height: 2em;
+}
diff --git a/testsuite/css/parser/min-width.css b/testsuite/css/parser/min-width.css
new file mode 100644
index 0000000000..9f262abbee
--- /dev/null
+++ b/testsuite/css/parser/min-width.css
@@ -0,0 +1,19 @@
+a {
+ min-width: initial;
+}
+
+b {
+ min-width: inherit;
+}
+
+c {
+ min-width: unset;
+}
+
+d {
+ min-width: 0px;
+}
+
+e {
+ min-width: 2em;
+}
diff --git a/testsuite/css/parser/min-width.ref.css b/testsuite/css/parser/min-width.ref.css
new file mode 100644
index 0000000000..62bec56d6b
--- /dev/null
+++ b/testsuite/css/parser/min-width.ref.css
@@ -0,0 +1,19 @@
+a {
+ min-width: initial;
+}
+
+b {
+ min-width: inherit;
+}
+
+c {
+ min-width: unset;
+}
+
+d {
+ min-width: 0;
+}
+
+e {
+ min-width: 2em;
+}