mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
7f7254f10b
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.
11 lines
263 B
Plaintext
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=\
|
|
");
|
|
}
|
|
}
|