[gtk+] Add a css parser test for background-blend-mode



commit c7654c737c8b23ff9b2f41af1c77bbc8acf266d0
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jul 5 13:16:43 2016 -0400

    Add a css parser test for background-blend-mode

 testsuite/css/parser/Makefile.am                   |    2 ++
 testsuite/css/parser/background-blend-mode.css     |   19 +++++++++++++++++++
 testsuite/css/parser/background-blend-mode.ref.css |   19 +++++++++++++++++++
 3 files changed, 40 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/css/parser/Makefile.am b/testsuite/css/parser/Makefile.am
index d774476..bd79891 100644
--- a/testsuite/css/parser/Makefile.am
+++ b/testsuite/css/parser/Makefile.am
@@ -175,6 +175,8 @@ test_data = \
        at-valid-21.css \
        at-valid-21.errors \
        at-valid-21.ref.css \
+        background-blend-mode.css \
+        background-blend-mode.ref.css \
         background-clip.css \
         background-clip.ref.css \
         background-image.css \
diff --git a/testsuite/css/parser/background-blend-mode.css b/testsuite/css/parser/background-blend-mode.css
new file mode 100644
index 0000000..ae989cb
--- /dev/null
+++ b/testsuite/css/parser/background-blend-mode.css
@@ -0,0 +1,19 @@
+a {
+  background-blend-mode: initial;
+}
+
+b {
+  background-blend-mode: inherit;
+}
+
+c {
+  background-blend-mode: unset;
+}
+
+d {
+  background-blend-mode: normal;
+}
+
+e {
+  background-blend-mode: color-burn, color-dodge, color, darken, difference, exclusion, hard-light, hue, 
lighten, luminosity, multiply, normal, overlay, saturate, screen, soft-light;
+}
diff --git a/testsuite/css/parser/background-blend-mode.ref.css 
b/testsuite/css/parser/background-blend-mode.ref.css
new file mode 100644
index 0000000..ae989cb
--- /dev/null
+++ b/testsuite/css/parser/background-blend-mode.ref.css
@@ -0,0 +1,19 @@
+a {
+  background-blend-mode: initial;
+}
+
+b {
+  background-blend-mode: inherit;
+}
+
+c {
+  background-blend-mode: unset;
+}
+
+d {
+  background-blend-mode: normal;
+}
+
+e {
+  background-blend-mode: color-burn, color-dodge, color, darken, difference, exclusion, hard-light, hue, 
lighten, luminosity, multiply, normal, overlay, saturate, screen, soft-light;
+}


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