[gtk+] Add a test for deprecated css properties
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Add a test for deprecated css properties
- Date: Tue, 24 Nov 2015 03:31:37 +0000 (UTC)
commit 8640216be7db88fdcc4aa3176c4fe4c1cba96645
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Nov 23 22:31:20 2015 -0500
Add a test for deprecated css properties
testsuite/css/parser/deprecated.css | 5 +++++
testsuite/css/parser/deprecated.errors | 3 +++
testsuite/css/parser/deprecated.ref.css | 5 +++++
3 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/css/parser/deprecated.css b/testsuite/css/parser/deprecated.css
new file mode 100644
index 0000000..6b22436
--- /dev/null
+++ b/testsuite/css/parser/deprecated.css
@@ -0,0 +1,5 @@
+* {
+ engine: none;
+ gtk-key-bindings: none;
+ icon-shadow: none;
+}
diff --git a/testsuite/css/parser/deprecated.errors b/testsuite/css/parser/deprecated.errors
new file mode 100644
index 0000000..6d5cf34
--- /dev/null
+++ b/testsuite/css/parser/deprecated.errors
@@ -0,0 +1,3 @@
+deprecated.css:2: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
+deprecated.css:3: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
+deprecated.css:4: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
diff --git a/testsuite/css/parser/deprecated.ref.css b/testsuite/css/parser/deprecated.ref.css
new file mode 100644
index 0000000..a49d477
--- /dev/null
+++ b/testsuite/css/parser/deprecated.ref.css
@@ -0,0 +1,5 @@
+* {
+ -gtk-icon-shadow: none;
+ -gtk-key-bindings: none;
+ engine: none;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]