From e567f23bcddeb223da1fb8e53c137824676ec9df Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 21 Dec 2015 14:17:28 -0500 Subject: [PATCH] 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(-) delete mode 100644 testsuite/css/parser/declarations-valid-18.errors diff --git a/testsuite/css/parser/Makefile.am b/testsuite/css/parser/Makefile.am index 39f3e9fafc..b2829fb67b 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 8b4b092791..4688e0ca2b 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.errors b/testsuite/css/parser/declarations-valid-18.errors deleted file mode 100644 index 9b0025818d..0000000000 --- a/testsuite/css/parser/declarations-valid-18.errors +++ /dev/null @@ -1 +0,0 @@ -declarations-valid-18.css:1: error: GTK_CSS_PROVIDER_ERROR_SYNTAX diff --git a/testsuite/css/parser/declarations-valid-18.ref.css b/testsuite/css/parser/declarations-valid-18.ref.css index e69de29bb2..853a2cc93a 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; +}