summaryrefslogtreecommitdiff
path: root/testsuite/gsk/compare/clip-translate-offscreen.node
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gsk/compare/clip-translate-offscreen.node')
-rw-r--r--testsuite/gsk/compare/clip-translate-offscreen.node17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/gsk/compare/clip-translate-offscreen.node b/testsuite/gsk/compare/clip-translate-offscreen.node
new file mode 100644
index 0000000000..b5313e3de5
--- /dev/null
+++ b/testsuite/gsk/compare/clip-translate-offscreen.node
@@ -0,0 +1,17 @@
+color {
+ bounds: 0 0 50 50;
+ color: rgb(0,0,0);
+}
+clip {
+ clip: 10 10 30 30;
+ child: transform {
+ transform: translate(10, 10);
+ child: opacity {
+ opacity: 0.8;
+ child: color {
+ bounds: -50 -50 100 100;
+ color: rgb(255,0,0);
+ }
+ }
+ }
+}