mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
e9d2f832a1
If the new clip cannot intersect with the old clip and there is a global opacity setting, things can go wrong. So test that they don't.
31 lines
604 B
Plaintext
31 lines
604 B
Plaintext
color {
|
|
bounds: 0 0 50 50;
|
|
color: rgb(0,255,0);
|
|
}
|
|
opacity {
|
|
opacity: 0.2;
|
|
child: rounded-clip {
|
|
clip: 0 0 50 50 / 50 0 50 0;
|
|
child: clip {
|
|
clip: 2.5 2.5 45 45;
|
|
child: shadow {
|
|
shadows: rgb(0,0,0) 20 20, rgb(0,0,0) -20 -20;
|
|
child: container {
|
|
color {
|
|
bounds: 30 10 10 10;
|
|
color: rgb(255,0,0);
|
|
}
|
|
color {
|
|
bounds: 20 20 10 10;
|
|
color: rgb(255,0,0);
|
|
}
|
|
color {
|
|
bounds: 10 30 10 10;
|
|
color: rgb(255,0,0);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|