[gtk/matthiasc/for-master: 2/2] fixup! Add more css filter parser tests




commit 50e81c1b274b54901c62238edba8e220fd3ddbe7
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Feb 5 23:31:53 2021 -0500

    fixup! Add more css filter parser tests

 testsuite/css/parser/filter-invalid9.css     | 3 +++
 testsuite/css/parser/filter-invalid9.errors  | 1 +
 testsuite/css/parser/filter-invalid9.ref.css | 0
 testsuite/css/parser/meson.build             | 3 +++
 4 files changed, 7 insertions(+)
---
diff --git a/testsuite/css/parser/filter-invalid9.css b/testsuite/css/parser/filter-invalid9.css
new file mode 100644
index 0000000000..beaf0b2ef3
--- /dev/null
+++ b/testsuite/css/parser/filter-invalid9.css
@@ -0,0 +1,3 @@
+a {
+  filter: drop-shadow(none);
+}
diff --git a/testsuite/css/parser/filter-invalid9.errors b/testsuite/css/parser/filter-invalid9.errors
new file mode 100644
index 0000000000..47893d496e
--- /dev/null
+++ b/testsuite/css/parser/filter-invalid9.errors
@@ -0,0 +1 @@
+filter-invalid9.css:2:23-27: error: GTK_CSS_PARSER_ERROR_SYNTAX
diff --git a/testsuite/css/parser/filter-invalid9.ref.css b/testsuite/css/parser/filter-invalid9.ref.css
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/testsuite/css/parser/meson.build b/testsuite/css/parser/meson.build
index f4b033a863..2d476f018d 100644
--- a/testsuite/css/parser/meson.build
+++ b/testsuite/css/parser/meson.build
@@ -337,6 +337,9 @@ test_data = [
   'filter-invalid8.css',
   'filter-invalid8.errors',
   'filter-invalid8.ref.css',
+  'filter-invalid9.css',
+  'filter-invalid9.errors',
+  'filter-invalid9.ref.css',
   'font-family.css',
   'font-family.ref.css',
   'font-size.css',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]