diff --git a/testsuite/gsk/compare/repeat-noninteger-nogl-nocairo.node b/testsuite/gsk/compare/repeat-noninteger-nogl-nocairo.node new file mode 100644 index 0000000000..2a83b24797 --- /dev/null +++ b/testsuite/gsk/compare/repeat-noninteger-nogl-nocairo.node @@ -0,0 +1,13 @@ +/* Repeat a child node that is not an integer size + and check that there's no space between the + tiles. + A color node is the easiest way to do that without + having to deal with visual glitches. + */ +repeat { + bounds: 0 0 50 50; + child: color { + bounds: 0 0 0.5 0.5; + color: rgb(255,0,0); + } +} diff --git a/testsuite/gsk/compare/repeat-noninteger-nogl-nocairo.png b/testsuite/gsk/compare/repeat-noninteger-nogl-nocairo.png new file mode 100644 index 0000000000..9a5764a9b2 Binary files /dev/null and b/testsuite/gsk/compare/repeat-noninteger-nogl-nocairo.png differ diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index 696e9da8bf..b2d3dcb5f5 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -122,6 +122,7 @@ compare_render_tests = [ 'repeat-no-repeat', 'repeat-node-tiling-horizontal', 'repeat-node-tiling-vertical', + 'repeat-noninteger-nogl-nocairo', 'repeat-repeats', 'repeat-repeats-nested-nogl', 'repeat-scaling',