[gtk+] Update another css parser test
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Update another css parser test
- Date: Mon, 21 Dec 2015 19:24:24 +0000 (UTC)
commit e567f23bcddeb223da1fb8e53c137824676ec9df
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Dec 21 14:17:28 2015 -0500
Update another css parser test
This test was using the engine property, which has
been deprecated and thus generates an error now.
Instead, use the font property.
testsuite/css/parser/Makefile.am | 1 -
testsuite/css/parser/declarations-valid-18.css | 2 +-
testsuite/css/parser/declarations-valid-18.errors | 1 -
testsuite/css/parser/declarations-valid-18.ref.css | 8 ++++++++
4 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/testsuite/css/parser/Makefile.am b/testsuite/css/parser/Makefile.am
index 39f3e9f..b2829fb 100644
--- a/testsuite/css/parser/Makefile.am
+++ b/testsuite/css/parser/Makefile.am
@@ -284,7 +284,6 @@ test_data = \
declarations-valid-17.css \
declarations-valid-17.ref.css \
declarations-valid-18.css \
- declarations-valid-18.errors \
declarations-valid-18.ref.css \
declarations-valid-19.css \
declarations-valid-19.ref.css \
diff --git a/testsuite/css/parser/declarations-valid-18.css b/testsuite/css/parser/declarations-valid-18.css
index 8b4b092..4688e0c 100644
--- a/testsuite/css/parser/declarations-valid-18.css
+++ b/testsuite/css/parser/declarations-valid-18.css
@@ -1 +1 @@
-* { engine: definitelydoesnotexist }
+* { font: definitelydoesnotexist }
diff --git a/testsuite/css/parser/declarations-valid-18.ref.css
b/testsuite/css/parser/declarations-valid-18.ref.css
index e69de29..853a2cc 100644
--- a/testsuite/css/parser/declarations-valid-18.ref.css
+++ b/testsuite/css/parser/declarations-valid-18.ref.css
@@ -0,0 +1,8 @@
+* {
+ font-family: "definitelydoesnotexist";
+ font-size: initial;
+ font-stretch: normal;
+ font-style: normal;
+ font-variant: normal;
+ font-weight: normal;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]