mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
e1bae384f0
This test tests that shadows that are offset to outside the clip region but where the blur goes back into the clip region get correctly drawn and not optimized away. To view what the test actually draws, remove at least the color-matrix - it's only used so the blurring algorithm doesn't cause different results - and maybe also the clip node.
14 lines
356 B
Plaintext
14 lines
356 B
Plaintext
color-matrix {
|
|
matrix: matrix3d(256, 0, 0, 0, 0, 256, 0, 0, 0, 0, 256, 0, 0, 0, 0, 256);
|
|
child: clip {
|
|
clip: -52 44 80 80;
|
|
child: shadow {
|
|
shadows: rgb(255,0,0) 65 0 17, rgb(255,0,0) -65 0 17, rgb(255,0,0) 0 -65 17, rgb(255,0,0) 0 65 17;
|
|
child: color {
|
|
bounds: -37 59 50 50;
|
|
color: rgb(0,0,255);
|
|
}
|
|
}
|
|
}
|
|
}
|