Add a test for mask nodes

This commit is contained in:
Matthias Clasen
2023-02-11 22:20:24 -05:00
parent 8f47e885f0
commit c8bfea7aa1
3 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
mask {
source: container {
color {
color: red;
bounds: 0 0 50 50;
}
color {
color: yellow;
bounds: 50 0 50 50;
}
color {
color: magenta;
bounds: 0 50 100 50;
}
}
mask: color {
color: black;
bounds: 20 20 50 50;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 B

View File

@@ -54,6 +54,7 @@ compare_render_tests = [
'inset-shadow-multiple',
'invalid-transform',
'issue-3615',
'mask',
'nested-rounded-clips',
'opacity_clip',
'opacity-overdraw',