gtk/testsuite/gsk/compare/clip-translate-offscreen.node
Benjamin Otte 853e8719c6 testsuite: Add clip-translate-offscreen test
This was an experiment where an offscreen was translated inside an
existing clip.

Because renderers try to limit offscreens to the clip rect, this is
interesting, because they might get the translation wrong.
2023-05-16 18:53:27 +02:00

18 lines
279 B
Plaintext

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);
}
}
}
}