mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
9e72260c3b
This encodes the problems from the harmless looking example from https://blog.gtk.org/2024/01/28/new-renderers-for-gtk/ in a form that we can test. Unsurprisingly it doesn't work on GL and Cairo.
14 lines
309 B
Plaintext
14 lines
309 B
Plaintext
/* Repeat a child node that is not an integer size
|
|
and check that there's no space between the
|
|
tiles.
|
|
A color node is the easiest way to do that without
|
|
having to deal with visual glitches.
|
|
*/
|
|
repeat {
|
|
bounds: 0 0 50 50;
|
|
child: color {
|
|
bounds: 0 0 0.5 0.5;
|
|
color: rgb(255,0,0);
|
|
}
|
|
}
|