gtk/testsuite/gsk/compare/linear-gradient-3d.node
Timm Bäder fd6b3ef5a0 gl: Linear gradients don't support 3d transforms
Add another helper similar to the one for transforms, but that only
works on 2d transforms.

Fixes #4501
2021-12-12 12:57:44 +01:00

14 lines
251 B
Plaintext

clip {
clip: 0 -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;
}
}
}