diff --git a/testsuite/gsk/compare/empty-mask.node b/testsuite/gsk/compare/empty-mask.node new file mode 100644 index 0000000000..d7b7e4dd10 --- /dev/null +++ b/testsuite/gsk/compare/empty-mask.node @@ -0,0 +1 @@ +mask { } diff --git a/testsuite/gsk/compare/empty-mask.png b/testsuite/gsk/compare/empty-mask.png new file mode 100644 index 0000000000..eddaf9d38c Binary files /dev/null and b/testsuite/gsk/compare/empty-mask.png differ diff --git a/testsuite/gsk/meson.build b/testsuite/gsk/meson.build index 279991eb8c..3dbd75f9da 100644 --- a/testsuite/gsk/meson.build +++ b/testsuite/gsk/meson.build @@ -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', diff --git a/testsuite/gsk/nodeparser/empty-mask.node b/testsuite/gsk/nodeparser/empty-mask.node new file mode 100644 index 0000000000..d7b7e4dd10 --- /dev/null +++ b/testsuite/gsk/nodeparser/empty-mask.node @@ -0,0 +1 @@ +mask { } diff --git a/testsuite/gsk/nodeparser/empty-mask.ref.node b/testsuite/gsk/nodeparser/empty-mask.ref.node new file mode 100644 index 0000000000..6a4beb3bb1 --- /dev/null +++ b/testsuite/gsk/nodeparser/empty-mask.ref.node @@ -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); + } +}