From 224d65032ead86fe17dc8e8b037d728d4028e6a3 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Thu, 7 Apr 2011 12:14:58 +0200 Subject: [PATCH] tests: Add CSS test checking that we don't need a semicolon --- tests/css/parser/Makefile.am | 2 ++ tests/css/parser/no-semicolon.css | 4 ++++ tests/css/parser/no-semicolon.ref.css | 7 +++++++ 3 files changed, 13 insertions(+) create mode 100644 tests/css/parser/no-semicolon.css create mode 100644 tests/css/parser/no-semicolon.ref.css diff --git a/tests/css/parser/Makefile.am b/tests/css/parser/Makefile.am index 1108f1b15..30b6013e3 100644 --- a/tests/css/parser/Makefile.am +++ b/tests/css/parser/Makefile.am @@ -27,4 +27,6 @@ clean-local: EXTRA_DIST += \ does-not-exist.css \ does-not-exist.ref.css \ + no-semicolon.css \ + no-semicolon.ref.css \ simple.css diff --git a/tests/css/parser/no-semicolon.css b/tests/css/parser/no-semicolon.css new file mode 100644 index 000000000..7f8be3a60 --- /dev/null +++ b/tests/css/parser/no-semicolon.css @@ -0,0 +1,4 @@ +foo { + color: rgb(255,255,255) +} +bar { color: rgb(0,0,0) } diff --git a/tests/css/parser/no-semicolon.ref.css b/tests/css/parser/no-semicolon.ref.css new file mode 100644 index 000000000..ec07f1e31 --- /dev/null +++ b/tests/css/parser/no-semicolon.ref.css @@ -0,0 +1,7 @@ +foo { + color: rgb(255,255,255); +} + +bar { + color: rgb(0,0,0); +} -- 2.43.2