mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 14:10:30 +00:00
testsuite: Add a test for shadows with large offset
This was causing crashes in the GPU renderer. Related: #6425
This commit is contained in:
parent
dbbc16947f
commit
f9b66dff8b
10
testsuite/gsk/compare/shadow-huge-offset.node
Normal file
10
testsuite/gsk/compare/shadow-huge-offset.node
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
BIN
testsuite/gsk/compare/shadow-huge-offset.png
Normal file
BIN
testsuite/gsk/compare/shadow-huge-offset.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 144 B |
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user