mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-06 02:40:07 +00:00
fb969f5431
If two subsurfaces don't overlap and aren't otherwise obstructed, we can just raise them both. Tests included.
21 lines
450 B
Plaintext
21 lines
450 B
Plaintext
|
|
transform {
|
|
transform: translate(10, 10);
|
|
child: subsurface {
|
|
child: texture {
|
|
bounds: 0 0 10 10;
|
|
texture: url('data:image/svg+xml;utf-8,<svg width="10" height="10"></svg>');
|
|
}
|
|
}
|
|
}
|
|
|
|
transform {
|
|
transform: translate(10,0);
|
|
child: subsurface {
|
|
child: texture {
|
|
bounds: 0 0 20 20;
|
|
texture: url('data:image/svg+xml;utf-8,<svg width="20" height="20"></svg>');
|
|
}
|
|
}
|
|
}
|