summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testsuite/gsk/compare/crossfade-clip-both-children.node18
-rw-r--r--testsuite/gsk/compare/crossfade-clip-both-children.pngbin0 -> 214 bytes
-rw-r--r--testsuite/gsk/meson.build1
3 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/gsk/compare/crossfade-clip-both-children.node b/testsuite/gsk/compare/crossfade-clip-both-children.node
new file mode 100644
index 0000000000..7af2338519
--- /dev/null
+++ b/testsuite/gsk/compare/crossfade-clip-both-children.node
@@ -0,0 +1,18 @@
+color {
+ bounds: 0 0 150 50;
+ color: rgb(0,0,0);
+}
+clip {
+ clip: 50 0 50 50;
+ child: cross-fade {
+ progress: 0.6;
+ start: color {
+ bounds: 0 0 50 50;
+ color: rgb(255,0,0);
+ }
+ end: color {
+ bounds: 100 0 50 50;
+ color: rgb(0,0,255);
+ }
+ }
+}
diff --git a/testsuite/gsk/compare/crossfade-clip-both-children.png b/testsuite/gsk/compare/crossfade-clip-both-children.png
new file mode 100644
index 0000000000..ea47119187
--- /dev/null
+++ b/testsuite/gsk/compare/crossfade-clip-both-children.png
Binary files differ
diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build
index 999e955ce5..263d13cf29 100644
--- a/testsuite/gsk/meson.build
+++ b/testsuite/gsk/meson.build
@@ -35,6 +35,7 @@ compare_render_tests = [
'color-blur0',
'color-matrix-identity',
'color-matrix-parsing',
+ 'crossfade-clip-both-children',
'cross-fade-in-opacity',
'cross-fade-in-rotate',
'css-background',