[gtk/matthiasc/for-master] testsuite: Add a css test
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master] testsuite: Add a css test
- Date: Sat, 31 Oct 2020 13:24:00 +0000 (UTC)
commit 1a12999431523772b08108daf816b4faf863745c
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Oct 31 00:36:47 2020 -0400
testsuite: Add a css test
This test verifies that CDO and CDC are ignored
as required.
testsuite/css/parser/cdo-cdc.css | 7 +++++++
testsuite/css/parser/cdo-cdc.ref.css | 3 +++
testsuite/css/parser/meson.build | 2 ++
3 files changed, 12 insertions(+)
---
diff --git a/testsuite/css/parser/cdo-cdc.css b/testsuite/css/parser/cdo-cdc.css
new file mode 100644
index 0000000000..3670c19285
--- /dev/null
+++ b/testsuite/css/parser/cdo-cdc.css
@@ -0,0 +1,7 @@
+<!--
+
+label {
+ color: red;
+}
+
+-->
diff --git a/testsuite/css/parser/cdo-cdc.ref.css b/testsuite/css/parser/cdo-cdc.ref.css
new file mode 100644
index 0000000000..e53c8cfd5c
--- /dev/null
+++ b/testsuite/css/parser/cdo-cdc.ref.css
@@ -0,0 +1,3 @@
+label {
+ color: rgb(255,0,0);
+}
diff --git a/testsuite/css/parser/meson.build b/testsuite/css/parser/meson.build
index 7ffd5d2644..380489427c 100644
--- a/testsuite/css/parser/meson.build
+++ b/testsuite/css/parser/meson.build
@@ -197,6 +197,8 @@ test_data = [
'calc.ref.css',
'calc-simple.css',
'calc-simple.ref.css',
+ 'cdo-cdc.css',
+ 'cdo-cdc.ref.css',
'close-at-end-of-file.css',
'close-at-end-of-file.errors',
'close-at-end-of-file.ref.css',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]