summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gsk/compare/repeat-negative-coords.node8
-rw-r--r--testsuite/gsk/compare/repeat-negative-coords.pngbin0 -> 105 bytes
-rw-r--r--testsuite/gsk/meson.build1
3 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/gsk/compare/repeat-negative-coords.node b/testsuite/gsk/compare/repeat-negative-coords.node
new file mode 100644
index 0000000000..20d2b51234
--- /dev/null
+++ b/testsuite/gsk/compare/repeat-negative-coords.node
@@ -0,0 +1,8 @@
+repeat {
+ bounds: 0 0 20 10;
+
+ child: container {
+ color { color: blue; bounds: 0 5 10 10;}
+ color { color: red; bounds: 0 10 10 10;}
+ }
+}
diff --git a/testsuite/gsk/compare/repeat-negative-coords.png b/testsuite/gsk/compare/repeat-negative-coords.png
new file mode 100644
index 0000000000..127e85b6b3
--- /dev/null
+++ b/testsuite/gsk/compare/repeat-negative-coords.png
Binary files differ
diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build
index cf54b8961c..cf3a74b5c5 100644
--- a/testsuite/gsk/meson.build
+++ b/testsuite/gsk/meson.build
@@ -60,6 +60,7 @@ compare_render_tests = [
'repeat',
'repeat-texture',
'repeat-no-repeat',
+ 'repeat-negative-coords',
]
# these are too sensitive to differences in the renderers