mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-15 05:00:09 +00:00
12a97ef422
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
14 lines
251 B
Plaintext
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;
|
|
}
|
|
}
|
|
}
|