diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am
index 59e9e294c7..c3f374300f 100644
--- a/tests/reftests/Makefile.am
+++ b/tests/reftests/Makefile.am
@@ -43,6 +43,10 @@ EXTRA_DIST += \
background-position.css \
background-position.ref.ui \
background-position.ui \
+ background-position-repeat.css \
+ background-position-repeat.ref.ui \
+ background-position-repeat.ui \
+ background-position-repeat-bg.png \
background-position-simple.css \
background-position-simple.ref.ui \
background-position-simple.ui \
diff --git a/tests/reftests/background-position-repeat-bg.png b/tests/reftests/background-position-repeat-bg.png
new file mode 100644
index 0000000000..92d30b28e5
Binary files /dev/null and b/tests/reftests/background-position-repeat-bg.png differ
diff --git a/tests/reftests/background-position-repeat.css b/tests/reftests/background-position-repeat.css
new file mode 100644
index 0000000000..a251bbb80b
--- /dev/null
+++ b/tests/reftests/background-position-repeat.css
@@ -0,0 +1,13 @@
+@import "reset-to-defaults.css";
+
+#button1_ref {
+ background-image: url("background-position-repeat-bg.png");
+}
+
+#button1 {
+ background-color: white;
+ background-image: linear-gradient(to right, red, red 1px);
+ background-size: 1px 1px;
+ background-repeat: repeat no-repeat;
+ background-position: left;
+}
diff --git a/tests/reftests/background-position-repeat.ref.ui b/tests/reftests/background-position-repeat.ref.ui
new file mode 100644
index 0000000000..ef7502bf23
--- /dev/null
+++ b/tests/reftests/background-position-repeat.ref.ui
@@ -0,0 +1,20 @@
+
+
+
+
+
diff --git a/tests/reftests/background-position-repeat.ui b/tests/reftests/background-position-repeat.ui
new file mode 100644
index 0000000000..e7b08d16a9
--- /dev/null
+++ b/tests/reftests/background-position-repeat.ui
@@ -0,0 +1,20 @@
+
+
+
+
+ False
+ popup
+
+
+ button1
+ False
+ 40
+ 41
+ True
+ True
+ True
+ False
+
+
+
+