[gtk+] Fix the css parser value initial test



commit 0fb84c5a685404d76d97f79ebd43284c9f0a63a9
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Dec 21 14:37:09 2015 -0500

    Fix the css parser value initial 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-initial.css    |    2 +-
 testsuite/css/parser/value-initial.errors |    1 +
 3 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/testsuite/css/parser/Makefile.am b/testsuite/css/parser/Makefile.am
index 09eaa6e..69be6c7 100644
--- a/testsuite/css/parser/Makefile.am
+++ b/testsuite/css/parser/Makefile.am
@@ -407,6 +407,7 @@ test_data = \
        value-inherit-shorthand.css \
        value-inherit-shorthand.ref.css \
        value-initial.css \
+       value-initial.errors \
        value-initial-shorthand.css \
        value-initial-shorthand.ref.css \
        value-none.css \
diff --git a/testsuite/css/parser/value-initial.css b/testsuite/css/parser/value-initial.css
index 7e72166..1bf604f 100644
--- a/testsuite/css/parser/value-initial.css
+++ b/testsuite/css/parser/value-initial.css
@@ -1,4 +1,5 @@
 * {
+  -gtk-icon-shadow: initial;
   background-clip: initial;
   background-color: initial;
   background-image: initial;
@@ -32,7 +33,6 @@
   font-style: initial;
   font-variant: initial;
   font-weight: initial;
-  icon-shadow: initial;
   margin-bottom: initial;
   margin-left: initial;
   margin-right: initial;
diff --git a/testsuite/css/parser/value-initial.errors b/testsuite/css/parser/value-initial.errors
new file mode 100644
index 0000000..f1d23c5
--- /dev/null
+++ b/testsuite/css/parser/value-initial.errors
@@ -0,0 +1 @@
+value-initial.css:30: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED


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