diff --git a/testsuite/gsk/compare/repeat-scaling.node b/testsuite/gsk/compare/repeat-scaling.node new file mode 100644 index 0000000000..d34ded25b6 --- /dev/null +++ b/testsuite/gsk/compare/repeat-scaling.node @@ -0,0 +1,13 @@ +transform { + transform: matrix(0, 4, + -8, 0, + 0, 0); + child: repeat { + bounds: 0 0 5 2.5; + child-bounds: 0 0 1 0.5; + child: color { + bounds: 0.25 0.125 0.5 0.25; + color: rgb(0,0,255); + } + } +} diff --git a/testsuite/gsk/compare/repeat-scaling.png b/testsuite/gsk/compare/repeat-scaling.png new file mode 100644 index 0000000000..c8305a7351 Binary files /dev/null and b/testsuite/gsk/compare/repeat-scaling.png differ diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index 25324ddec8..08c8e25e52 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -96,6 +96,7 @@ compare_render_tests = [ 'repeat-no-repeat', 'repeat-repeats', 'repeat-repeats-nested', + 'repeat-scaling', 'repeat-texture', 'repeating-gradient-scaled', 'scale-textures-negative-ngl',