mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
Add more mask node tests
This commit is contained in:
parent
0eb791eaaa
commit
cb0aaf0b2c
1
testsuite/gsk/compare/empty-mask.node
Normal file
1
testsuite/gsk/compare/empty-mask.node
Normal file
@ -0,0 +1 @@
|
||||
mask { }
|
BIN
testsuite/gsk/compare/empty-mask.png
Normal file
BIN
testsuite/gsk/compare/empty-mask.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 146 B |
@ -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',
|
||||
|
1
testsuite/gsk/nodeparser/empty-mask.node
Normal file
1
testsuite/gsk/nodeparser/empty-mask.node
Normal file
@ -0,0 +1 @@
|
||||
mask { }
|
10
testsuite/gsk/nodeparser/empty-mask.ref.node
Normal file
10
testsuite/gsk/nodeparser/empty-mask.ref.node
Normal 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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user