diff options
author | Timm Bäder <mail@baedert.org> | 2019-11-19 10:45:35 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2019-11-19 10:45:35 +0100 |
commit | 39a48de025f1b43f9f6a3ee1e9e83e63be9b2a3b (patch) | |
tree | 33905df7d59c35991ed359309e31fd61c5efb9cb | |
parent | 600ce68210617c15c779ab9b85d24ab5c702dc76 (diff) | |
download | gtk+-39a48de025f1b43f9f6a3ee1e9e83e63be9b2a3b.tar.gz |
testsuite: Add a testcase for repeat nodes that don't repeat
-rw-r--r-- | testsuite/gsk/compare/repeat-no-repeat.node | 14 | ||||
-rw-r--r-- | testsuite/gsk/compare/repeat-no-repeat.png | bin | 0 -> 152 bytes | |||
-rw-r--r-- | testsuite/gsk/meson.build | 1 |
3 files changed, 15 insertions, 0 deletions
diff --git a/testsuite/gsk/compare/repeat-no-repeat.node b/testsuite/gsk/compare/repeat-no-repeat.node new file mode 100644 index 0000000000..1598e116e8 --- /dev/null +++ b/testsuite/gsk/compare/repeat-no-repeat.node @@ -0,0 +1,14 @@ +repeat { + child: container { + color { + color: red; + bounds: 0 0 50 50; + } + color { + color: blue; + bounds: 50 0 50 50; + } + } + + bounds: 50 0 50 50; +} diff --git a/testsuite/gsk/compare/repeat-no-repeat.png b/testsuite/gsk/compare/repeat-no-repeat.png Binary files differnew file mode 100644 index 0000000000..97102a095c --- /dev/null +++ b/testsuite/gsk/compare/repeat-no-repeat.png diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index e367cd7ef6..cf54b8961c 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -59,6 +59,7 @@ compare_render_tests = [ 'opacity-overlapping-children', 'repeat', 'repeat-texture', + 'repeat-no-repeat', ] # these are too sensitive to differences in the renderers |