summaryrefslogtreecommitdiff
path: root/testsuite/gsk/compare/crossfade-clip-both-children.node
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-05-16 17:25:17 +0000
committerMatthias Clasen <mclasen@redhat.com>2023-05-16 17:25:17 +0000
commit4efc736a6ee9fdff0132b0f9b66a72c2989751cf (patch)
treed40d532bc6dcd8f330acd08ae4fa7fd6e941b427 /testsuite/gsk/compare/crossfade-clip-both-children.node
parent4a1598dc2a316eb27046467a33c68ff1babb55fa (diff)
parent2b0e3a5b1a595c5c8463706452637c3ed716e0c8 (diff)
downloadgtk+-4efc736a6ee9fdff0132b0f9b66a72c2989751cf.tar.gz
Merge branch 'wip/otte/for-main' into 'main'
gdk: Clamp frame region to surface size Closes #5812 See merge request GNOME/gtk!5976
Diffstat (limited to 'testsuite/gsk/compare/crossfade-clip-both-children.node')
-rw-r--r--testsuite/gsk/compare/crossfade-clip-both-children.node18
1 files changed, 18 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);
+ }
+ }
+}