summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2019-11-26 08:41:23 +0100
committerTimm Bäder <mail@baedert.org>2019-11-26 09:09:25 +0100
commit4f532224e020cbb5852ddcdfa6bf98b76a85cecb (patch)
tree51ab1abc75bc81cae118ae8b500364cbe7f1c017
parent1c2661ed12a9609afc6af6dabf5c38c2ec7770e3 (diff)
downloadgtk+-4f532224e020cbb5852ddcdfa6bf98b76a85cecb.tar.gz
testsuite: Add another repeat node test case
-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