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:
Benjamin Otte
2023-12-05 17:20:18 +01:00
parent 4cc2a660e3
commit 653d1eec55
3 changed files with 41 additions and 0 deletions

View File

@@ -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);
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

View File

@@ -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',