testsuite: Add a variant of an existing test
This variant ccreates a huge node in the clipped region and tests that renderers properly clip it away.
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
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: -20037 59 20000 50;
|
||||
color: rgb(255,0,0);
|
||||
}
|
||||
}
|
||||
blur {
|
||||
blur: 17;
|
||||
child: color {
|
||||
bounds: 13 59 20000 50;
|
||||
color: rgb(255,0,0);
|
||||
}
|
||||
}
|
||||
blur {
|
||||
blur: 17;
|
||||
child: color {
|
||||
bounds: -37 -19941 50 20000;
|
||||
color: rgb(255,0,0);
|
||||
}
|
||||
}
|
||||
blur {
|
||||
blur: 17;
|
||||
child: color {
|
||||
bounds: -37 109 50 20000;
|
||||
color: rgb(255,0,0);
|
||||
}
|
||||
}
|
||||
color {
|
||||
bounds: -22 74 20 20;
|
||||
color: rgb(0,0,0);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
testsuite/gsk/compare/blur-huge-contents-outside-of-clip.png
Normal file
BIN
testsuite/gsk/compare/blur-huge-contents-outside-of-clip.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 168 B |
@@ -22,6 +22,7 @@ compare_render_tests = [
|
||||
'blurred-lines',
|
||||
'blur-child-bounds-oversize',
|
||||
'blur-contents-outside-of-clip',
|
||||
'blur-huge-contents-outside-of-clip',
|
||||
'border-bottom-right',
|
||||
'border-one-rounded',
|
||||
'borders-rotated',
|
||||
|
||||
Reference in New Issue
Block a user