gtk/testsuite/gsk/compare/blur-contents-outside-of-clip.node
Benjamin Otte e3299e38df cairo: Handle clipped blur content
This is the result of experimenting with corner cases when blurring.

The result is a test that tests when the child of a blur node is
clipped out but the blurred child is not, the blurred parts are still
visible.

This immediately broke the cairo renderer, so the fix is included.
2023-12-11 07:33:24 +01:00

41 lines
784 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: -37 59 50 50;
child: container {
blur {
blur: 17;
child: color {
bounds: -87 59 50 50;
color: rgb(255,0,0);
}
}
blur {
blur: 17;
child: color {
bounds: 13 59 50 50;
color: rgb(255,0,0);
}
}
blur {
blur: 17;
child: color {
bounds: -37 9 50 50;
color: rgb(255,0,0);
}
}
blur {
blur: 17;
child: color {
bounds: -37 109 50 50;
color: rgb(255,0,0);
}
}
color {
bounds: -22 74 20 20;
color: rgb(0,0,0);
}
}
}
}