[gtk+/wip/css: 142/143] tests: Add test for background-repeat



commit a8c4b230ef68c063f92f328939d5a7e9b5b03670
Author: Benjamin Otte <otte redhat com>
Date:   Thu Jan 5 02:49:43 2012 +0100

    tests: Add test for background-repeat

 tests/css/parser/Makefile.am               |    2 +
 tests/css/parser/background-repeat.css     |   87 ++++++++++++++++++++++++++++
 tests/css/parser/background-repeat.ref.css |   87 ++++++++++++++++++++++++++++
 3 files changed, 176 insertions(+), 0 deletions(-)
---
diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am
index cd8039b..fbb8ae2 100644
--- a/tests/css/parser/Makefile.am
+++ b/tests/css/parser/Makefile.am
@@ -149,6 +149,8 @@ EXTRA_DIST += \
 	at-valid-21.css \
 	at-valid-21.errors \
 	at-valid-21.ref.css \
+	background-repeat.css \
+	background-repeat.ref.css \
 	background-shorthand.css \
 	background-shorthand.ref.css \
 	boolean.css \
diff --git a/tests/css/parser/background-repeat.css b/tests/css/parser/background-repeat.css
new file mode 100644
index 0000000..6bfec32
--- /dev/null
+++ b/tests/css/parser/background-repeat.css
@@ -0,0 +1,87 @@
+a {
+  background-repeat: repeat-x;
+}
+
+b {
+  background-repeat: repeat-y;
+}
+
+c {
+  background-repeat: repeat;
+}
+
+d {
+  background-repeat: space;
+}
+
+e {
+  background-repeat: round;
+}
+
+f {
+  background-repeat: no-repeat;
+}
+
+g {
+  background-repeat: repeat repeat;
+}
+
+h {
+  background-repeat: repeat space;
+}
+
+i {
+  background-repeat: repeat round;
+}
+
+j {
+  background-repeat: repeat no-repeat;
+}
+
+k {
+  background-repeat: space repeat;
+}
+
+l {
+  background-repeat: space space;
+}
+
+m {
+  background-repeat: space round;
+}
+
+n {
+  background-repeat: space no-repeat;
+}
+
+g {
+  background-repeat: round repeat;
+}
+
+h {
+  background-repeat: round space;
+}
+
+o {
+  background-repeat: round round;
+}
+
+p {
+  background-repeat: round no-repeat;
+}
+
+q {
+  background-repeat: no-repeat repeat;
+}
+
+r {
+  background-repeat: no-repeat space;
+}
+
+s {
+  background-repeat: no-repeat round;
+}
+
+t {
+  background-repeat: no-repeat no-repeat;
+}
diff --git a/tests/css/parser/background-repeat.ref.css b/tests/css/parser/background-repeat.ref.css
new file mode 100644
index 0000000..67b42e6
--- /dev/null
+++ b/tests/css/parser/background-repeat.ref.css
@@ -0,0 +1,87 @@
+a {
+  background-repeat: repeat-x;
+}
+
+b {
+  background-repeat: repeat-y;
+}
+
+c {
+  background-repeat: repeat;
+}
+
+d {
+  background-repeat: space;
+}
+
+e {
+  background-repeat: round;
+}
+
+f {
+  background-repeat: no-repeat;
+}
+
+g {
+  background-repeat: repeat;
+}
+
+h {
+  background-repeat: repeat space;
+}
+
+i {
+  background-repeat: repeat round;
+}
+
+j {
+  background-repeat: repeat-x;
+}
+
+k {
+  background-repeat: space repeat;
+}
+
+l {
+  background-repeat: space;
+}
+
+m {
+  background-repeat: space round;
+}
+
+n {
+  background-repeat: space no-repeat;
+}
+
+g {
+  background-repeat: round repeat;
+}
+
+h {
+  background-repeat: round space;
+}
+
+o {
+  background-repeat: round;
+}
+
+p {
+  background-repeat: round no-repeat;
+}
+
+q {
+  background-repeat: repeat-y;
+}
+
+r {
+  background-repeat: no-repeat space;
+}
+
+s {
+  background-repeat: no-repeat round;
+}
+
+t {
+  background-repeat: no-repeat;
+}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]