mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
testsuite: Add another test
This test ensures that offscreens for cross-fade children are properly clipped and that the renderers can deal with the two not overlapping.
This commit is contained in:
parent
f574cc2936
commit
72c58ccd7d
@ -0,0 +1,14 @@
|
||||
clip {
|
||||
clip: -50 -50 100 100;
|
||||
child: cross-fade {
|
||||
progress: 0.333333;
|
||||
start: color {
|
||||
bounds: 0 0 16384 16384;
|
||||
color: red;
|
||||
}
|
||||
end: color {
|
||||
bounds: -16384 -16384 16384 16384;
|
||||
color: blue;
|
||||
}
|
||||
}
|
||||
}
|
BIN
testsuite/gsk/compare/cross-fade-clipped-with-huge-children.png
Normal file
BIN
testsuite/gsk/compare/cross-fade-clipped-with-huge-children.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 333 B |
@ -41,6 +41,7 @@ compare_render_tests = [
|
||||
'color-matrix-merge',
|
||||
'color-matrix-parsing',
|
||||
'crossfade-clip-both-children',
|
||||
'cross-fade-clipped-with-huge-children',
|
||||
'cross-fade-in-opacity',
|
||||
'cross-fade-in-rotate',
|
||||
'css-background',
|
||||
|
Loading…
Reference in New Issue
Block a user