gtk/testsuite/gsk/compare/linear-gradient-3d-nocairo.node
Benjamin Otte 12a97ef422 testsuite: Add a forgotten test
The test existed in git but wasn't hooked up. So let's do that by:

1. Adding it to the build
2. Adapting it a bit so rounding errors really don't trigger (as the
   original commit claimed they shouldn't).
3. Re-renaming it because this was actually about 3d gradients
2023-12-26 05:03:24 +01:00

14 lines
251 B
Plaintext

clip {
clip: 1 -25 50 50;
child: transform {
transform: perspective(100) rotateY(45);
child: linear-gradient {
bounds: 0 -100 200 200;
start: 0 -100;
end: 0 100;
stops: 0.5 red,
0.5 lime;
}
}
}