mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 02:10:10 +00:00
5c892fa4ea
Include background in offload tests.
72 lines
1.4 KiB
Plaintext
72 lines
1.4 KiB
Plaintext
container {
|
|
|
|
transform {
|
|
child: subsurface {
|
|
child: container {
|
|
color {
|
|
bounds: 0 0 100 100;
|
|
color: black;
|
|
}
|
|
texture {
|
|
texture: url('data:image/svg+xml;utf-8,<svg width="13" height="17"></svg>');
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
debug {
|
|
message: "Non-black background doesn't work";
|
|
child: subsurface {
|
|
child: container {
|
|
color {
|
|
bounds: 0 0 100 100;
|
|
color: red;
|
|
}
|
|
texture {
|
|
texture: url('data:image/svg+xml;utf-8,<svg width="13" height="17"></svg>');
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
debug {
|
|
message: "Can't have too much content";
|
|
child: subsurface {
|
|
child: container {
|
|
color {
|
|
bounds: 0 0 100 100;
|
|
color: black;
|
|
}
|
|
color {
|
|
bounds: 0 0 20 20;
|
|
color: red;
|
|
}
|
|
texture {
|
|
texture: url('data:image/svg+xml;utf-8,<svg width="13" height="17"></svg>');
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
debug {
|
|
message: "Texture can be deeper in";
|
|
child: subsurface {
|
|
child: container {
|
|
color {
|
|
bounds: 0 0 100 100;
|
|
color: black;
|
|
}
|
|
container {
|
|
debug {
|
|
message: "bla";
|
|
child: texture {
|
|
texture: url('data:image/svg+xml;utf-8,<svg width="13" height="17"></svg>');
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|