gtk/testsuite/gsk/compare/repeat-noninteger-nogl-nocairo.node
Benjamin Otte 9e72260c3b testsuite: Add a compare test for non-integer repeat children
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.
2024-02-11 20:04:54 +01:00

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