[gtk+] Fix the css parser value inherit test
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix the css parser value inherit test
- Date: Mon, 21 Dec 2015 19:53:04 +0000 (UTC)
commit 474f5b7784162e8aca408ddb7c6ef694d4a5384c
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Dec 21 14:35:11 2015 -0500
Fix the css parser value inherit test
This was affected by the recent renaming of icon-shadow to
-gtk-icon-shadow. Also, it produces an error now because
engine is deprecated.
testsuite/css/parser/Makefile.am | 1 +
testsuite/css/parser/value-inherit.css | 2 +-
testsuite/css/parser/value-inherit.errors | 1 +
3 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/testsuite/css/parser/Makefile.am b/testsuite/css/parser/Makefile.am
index 8b2792c..09eaa6e 100644
--- a/testsuite/css/parser/Makefile.am
+++ b/testsuite/css/parser/Makefile.am
@@ -403,6 +403,7 @@ test_data = \
transition.css \
transition.ref.css \
value-inherit.css \
+ value-inherit.errors \
value-inherit-shorthand.css \
value-inherit-shorthand.ref.css \
value-initial.css \
diff --git a/testsuite/css/parser/value-inherit.css b/testsuite/css/parser/value-inherit.css
index 6e18ed8..509c601 100644
--- a/testsuite/css/parser/value-inherit.css
+++ b/testsuite/css/parser/value-inherit.css
@@ -1,4 +1,5 @@
* {
+ -gtk-icon-shadow: inherit;
background-clip: inherit;
background-color: inherit;
background-image: inherit;
@@ -33,7 +34,6 @@
font-style: inherit;
font-variant: inherit;
font-weight: inherit;
- icon-shadow: inherit;
margin-bottom: inherit;
margin-left: inherit;
margin-right: inherit;
diff --git a/testsuite/css/parser/value-inherit.errors b/testsuite/css/parser/value-inherit.errors
new file mode 100644
index 0000000..99adf8d
--- /dev/null
+++ b/testsuite/css/parser/value-inherit.errors
@@ -0,0 +1 @@
+value-inherit.css:30: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]