[gtk+] reftests: Add a test for the symbolic color fix



commit dd01e05ceb55d4747d98434a428e5dc192f3ab38
Author: Benjamin Otte <otte redhat com>
Date:   Sat Oct 5 13:57:29 2013 +0200

    reftests: Add a test for the symbolic color fix

 testsuite/reftests/Makefile.am                     |    3 +++
 .../reftests/symbolic-icon-translucent-color.css   |   10 ++++++++++
 .../symbolic-icon-translucent-color.ref.ui         |   17 +++++++++++++++++
 .../reftests/symbolic-icon-translucent-color.ui    |   16 ++++++++++++++++
 4 files changed, 46 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/reftests/Makefile.am b/testsuite/reftests/Makefile.am
index a4293a8..868ba55 100644
--- a/testsuite/reftests/Makefile.am
+++ b/testsuite/reftests/Makefile.am
@@ -282,6 +282,9 @@ testdata = \
        style-properties-only-child.css \
        style-properties-only-child.ref.ui \
        style-properties-only-child.ui \
+       symbolic-icon-translucent-color.css \
+       symbolic-icon-translucent-color.ref.ui \
+       symbolic-icon-translucent-color.ui \
        toplevel-vs-popup.ref.ui \
        toplevel-vs-popup.ui \
        treeview-headers-hidden.ref.ui \
diff --git a/testsuite/reftests/symbolic-icon-translucent-color.css 
b/testsuite/reftests/symbolic-icon-translucent-color.css
new file mode 100644
index 0000000..0a8fb6d
--- /dev/null
+++ b/testsuite/reftests/symbolic-icon-translucent-color.css
@@ -0,0 +1,10 @@
+ import url("reset-to-defaults.css");
+
+.background {
+  background-color: red;
+  color: rgba(0,255,0,0.6);
+}
+
+#reference {
+  color: rgb(102,153,0);
+}
diff --git a/testsuite/reftests/symbolic-icon-translucent-color.ref.ui 
b/testsuite/reftests/symbolic-icon-translucent-color.ref.ui
new file mode 100644
index 0000000..8e1a8b0
--- /dev/null
+++ b/testsuite/reftests/symbolic-icon-translucent-color.ref.ui
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.15.3 on Fri Oct  4 16:19:20 2013 -->
+<interface>
+  <!-- interface-requires gtk+ 3.10 -->
+  <object class="GtkWindow" id="window1">
+    <property name="can_focus">False</property>
+    <property name="type">popup</property>
+    <child>
+      <object class="GtkImage" id="image1">
+        <property name="name">reference</property>
+        <property name="visible">True</property>
+        <property name="can_focus">False</property>
+        <property name="icon_name">window-close-symbolic</property>
+      </object>
+    </child>
+  </object>
+</interface>
diff --git a/testsuite/reftests/symbolic-icon-translucent-color.ui 
b/testsuite/reftests/symbolic-icon-translucent-color.ui
new file mode 100644
index 0000000..9c800be
--- /dev/null
+++ b/testsuite/reftests/symbolic-icon-translucent-color.ui
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.15.3 on Fri Oct  4 16:16:58 2013 -->
+<interface>
+  <!-- interface-requires gtk+ 3.10 -->
+  <object class="GtkWindow" id="window1">
+    <property name="can_focus">False</property>
+    <property name="type">popup</property>
+    <child>
+      <object class="GtkImage" id="image1">
+        <property name="visible">True</property>
+        <property name="can_focus">False</property>
+        <property name="icon_name">window-close-symbolic</property>
+      </object>
+    </child>
+  </object>
+</interface>


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