gtk/testsuite/gsk/compare/repeat-child-bounds.node
Benjamin Otte 7f7254f10b testsuite: Add a repeat test for child bounds
Test that if the child is a texture that extends the child bounds, that
extension does not get repeated when rendering.

This can easily happen when the child is not drawn as an offscreen, but
instead the texture cache is consulted and no check for matching size is
done.
2023-12-26 05:03:23 +01:00

11 lines
263 B
Plaintext

repeat {
bounds: 0 0 10 10;
child-bounds: 0 0 1 1;
child: texture {
bounds: -1 -1 3 3;
texture: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAADCAYAAABWKLW/AAAAGklEQVQImWP8z8DwnwEKmBgYGBgY\
oXxGZBkAcTMFAbj7zAkAAAAASUVORK5CYII=\
");
}
}