diff --git a/testsuite/gsk/compare/shadow-offset-to-outside-clip.node b/testsuite/gsk/compare/shadow-offset-to-outside-clip.node new file mode 100644 index 0000000000..1f0e0e782f --- /dev/null +++ b/testsuite/gsk/compare/shadow-offset-to-outside-clip.node @@ -0,0 +1,13 @@ +color-matrix { + matrix: matrix3d(256, 0, 0, 0, 0, 256, 0, 0, 0, 0, 256, 0, 0, 0, 0, 256); + child: clip { + clip: -52 44 80 80; + child: shadow { + shadows: rgb(255,0,0) 65 0 17, rgb(255,0,0) -65 0 17, rgb(255,0,0) 0 -65 17, rgb(255,0,0) 0 65 17; + child: color { + bounds: -37 59 50 50; + color: rgb(0,0,255); + } + } + } +} diff --git a/testsuite/gsk/compare/shadow-offset-to-outside-clip.png b/testsuite/gsk/compare/shadow-offset-to-outside-clip.png new file mode 100644 index 0000000000..6e0c143778 Binary files /dev/null and b/testsuite/gsk/compare/shadow-offset-to-outside-clip.png differ diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index 29a981a3c1..6458352c0d 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -111,6 +111,7 @@ compare_render_tests = [ 'shadow-behind', 'shadow-clip-contents', 'shadow-in-opacity', + 'shadow-offset-to-outside-clip', 'shadow-opacity', 'shrink-rounded-border', 'stroke',