testsuite: Add a test for shadows with large offset

This was causing crashes in the GPU renderer.

Related: #6425
This commit is contained in:
Benjamin Otte 2024-02-13 13:11:43 +01:00
parent dbbc16947f
commit f9b66dff8b
3 changed files with 11 additions and 0 deletions

View File

@ -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;
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 B

View File

@ -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',