gtk2/testsuite/gsk/compare/cross-fade-in-opacity.node
Timm Bäder 1000d971f9 testsuite: Add cross-fade-in-opacity test
Making sure that an opacity node doesn't end up reviving a node that's
hidden because the cross-fade has progress 0 or 1.
2019-05-05 07:18:39 +02:00

24 lines
400 B
Plaintext

/* Background */
color {
bounds: 0 0 200 200;
color: white;
}
/* It is important that the following node structure leaves the
* start child of the cross-fade node invisible. */
opacity {
opacity: 0.4;
child: cross-fade {
start: color {
color: blue;
bounds: 0 0 100 100;
}
end: color {
color: red;
bounds: 100 100 100 100;
}
progress: 1.0;
}
}