diff --git a/testsuite/gsk/compare/shadow-huge-offset.node b/testsuite/gsk/compare/shadow-huge-offset.node new file mode 100644 index 0000000000..fb08cdc4cb --- /dev/null +++ b/testsuite/gsk/compare/shadow-huge-offset.node @@ -0,0 +1,10 @@ +clip { + clip: -20000 0 50 50; + child: shadow { + shadows: red -20000 0 0; + child: color { + bounds: 0 0 50 50; + color: blue; + } + } +} diff --git a/testsuite/gsk/compare/shadow-huge-offset.png b/testsuite/gsk/compare/shadow-huge-offset.png new file mode 100644 index 0000000000..9a5764a9b2 Binary files /dev/null and b/testsuite/gsk/compare/shadow-huge-offset.png differ diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index f78740e3c2..b979246ed5 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -137,6 +137,7 @@ compare_render_tests = [ 'scale0-crash', 'shadow-behind', 'shadow-clip-contents', + 'shadow-huge-offset', 'shadow-in-opacity', 'shadow-offset-to-outside-clip', 'shadow-opacity',