diff --git a/testsuite/gsk/compare/fill-clipped-nogl.node b/testsuite/gsk/compare/fill-clipped-nogl.node new file mode 100644 index 0000000000..07b51c11fd --- /dev/null +++ b/testsuite/gsk/compare/fill-clipped-nogl.node @@ -0,0 +1,10 @@ +clip { + clip: 0 0 50 50; + child: fill { + path: "M 0 0 h 32768 v 32768 h -32768 z"; + child: color { + color: blue; + bounds: 0 0 32768 32768; + } + } +} diff --git a/testsuite/gsk/compare/fill-clipped-nogl.png b/testsuite/gsk/compare/fill-clipped-nogl.png new file mode 100644 index 0000000000..b2883e3728 Binary files /dev/null and b/testsuite/gsk/compare/fill-clipped-nogl.png differ diff --git a/testsuite/gsk/compare/stroke-clipped-nogl.node b/testsuite/gsk/compare/stroke-clipped-nogl.node new file mode 100644 index 0000000000..1450f3f4cc --- /dev/null +++ b/testsuite/gsk/compare/stroke-clipped-nogl.node @@ -0,0 +1,11 @@ +clip { + clip: 0 0 50 50; + child: stroke { + path: "M 25 25 h 32718 v 32718 h -32718 z"; + child: color { + color: blue; + bounds: 0 0 32768 32768; + } + line-width: 50; + } +} diff --git a/testsuite/gsk/compare/stroke-clipped-nogl.png b/testsuite/gsk/compare/stroke-clipped-nogl.png new file mode 100644 index 0000000000..b2883e3728 Binary files /dev/null and b/testsuite/gsk/compare/stroke-clipped-nogl.png differ diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index dd97772335..2082586e2d 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -67,6 +67,7 @@ compare_render_tests = [ 'empty-texture', 'empty-transform', 'fill', + 'fill-clipped-nogl', 'fill-opacity', 'fill-with-3d-contents-nogl-nocairo', 'huge-height', @@ -120,6 +121,7 @@ compare_render_tests = [ 'shadow-opacity', 'shrink-rounded-border', 'stroke', + 'stroke-clipped-nogl', 'stroke-opacity', 'stroke-with-3d-contents-nogl-nocairo', 'texture-coords',