testsuite: Add opacity handling test for fill nodes

This commit is contained in:
Benjamin Otte 2023-12-27 18:18:12 +01:00
parent 34392ca018
commit e1ca4b4569
3 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,26 @@
opacity {
child: fill {
child: opacity {
opacity: 0.4;
child: color {
bounds: 0 0 50 50;
color: rgb(0,255,0);
}
}
path: "\
M 10 0\
L 40 0\
L 40 10\
L 50 10\
L 50 40\
L 40 40\
L 40 50\
L 10 50\
L 10 40\
L 0 40\
L 0 10\
L 10 10\
Z";
fill-rule: winding;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 B

View File

@ -66,6 +66,7 @@ compare_render_tests = [
'empty-texture',
'empty-transform',
'fill',
'fill-opacity',
'fill-with-3d-contents-nogl-nocairo',
'huge-height',
'huge-width',