Add more mask node tests

This commit is contained in:
Matthias Clasen 2023-02-14 19:04:34 -05:00
parent 0eb791eaaa
commit cb0aaf0b2c
5 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1 @@
mask { }

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 B

View File

@ -42,6 +42,7 @@ compare_render_tests = [
'empty-inset-shadow',
# this test fails for some of the backends
# 'empty-linear-gradient',
'empty-mask',
'empty-opacity',
'empty-outset-shadow',
'empty-repeat',
@ -181,6 +182,8 @@ node_parser_tests = [
'empty-inset-shadow.ref.node',
'empty-linear-gradient.node',
'empty-linear-gradient.ref.node',
'empty-mask.node',
'empty-mask.ref.node',
'empty-opacity.node',
'empty-opacity.ref.node',
'empty-outset-shadow.node',

View File

@ -0,0 +1 @@
mask { }

View File

@ -0,0 +1,10 @@
mask {
source: color {
bounds: 0 0 50 50;
color: rgb(255,0,204);
}
mask: color {
bounds: 0 0 50 50;
color: rgb(170,255,0);
}
}