testsuite: Add a test for stripes

The GL renderer was creating sripes for nodes that were scaled in
particular ways, probably due to rounding errors.

This testsuite focuses on one of those stripes to make sure they are
gone.
This commit is contained in:
Benjamin Otte
2023-03-04 02:50:38 +01:00
parent 8bbf220fdf
commit 0581e38b09
3 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
clip {
clip: 3950 3950 100 100;
child: texture-scale {
bounds: 0 0 19991 19991;
filter: nearest;
texture: url('data:,<svg><rect width="10" height="10" style="fill:red" /></svg>');
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

View File

@@ -77,6 +77,7 @@ compare_render_tests = [
'scaled-texture',
'shadow-in-opacity',
'texture-scale-magnify-10000x',
'texture-scale-stripes',
'texture-url',
'transform-in-transform',
'transform-in-transform-in-transform',