Add a test for rotated cross-fade nodes
This one checks that we don't apply the modelview transform twice with cross-fades.
This commit is contained in:
14
testsuite/gsk/compare/cross-fade-in-rotate.node
Normal file
14
testsuite/gsk/compare/cross-fade-in-rotate.node
Normal file
@@ -0,0 +1,14 @@
|
||||
transform {
|
||||
transform: rotate(90);
|
||||
child: cross-fade {
|
||||
progress: 0;
|
||||
start: color {
|
||||
bounds: 25 0 25 50;
|
||||
color: rgb(255,0,0);
|
||||
}
|
||||
end: color {
|
||||
bounds: 0 0 25 50;
|
||||
color: rgb(0,0,0);
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
testsuite/gsk/compare/cross-fade-in-rotate.png
Normal file
BIN
testsuite/gsk/compare/cross-fade-in-rotate.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 127 B |
@@ -34,6 +34,7 @@ compare_render_tests = [
|
||||
'color-matrix-identity',
|
||||
'color-matrix-parsing',
|
||||
'cross-fade-in-opacity',
|
||||
'cross-fade-in-rotate',
|
||||
'css-background',
|
||||
'empty-blend',
|
||||
'empty-blur',
|
||||
|
||||
Reference in New Issue
Block a user