[gtk+] reftests: Add test for just fixed Polari crasher
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] reftests: Add test for just fixed Polari crasher
- Date: Fri, 6 Sep 2013 01:05:18 +0000 (UTC)
commit 967abf53fdbfd35be4da8a15bfcf6b68fa9ce267
Author: Benjamin Otte <otte redhat com>
Date: Fri Sep 6 03:04:44 2013 +0200
reftests: Add test for just fixed Polari crasher
testsuite/reftests/Makefile.am | 3 +++
testsuite/reftests/css-currentcolor-alpha.css | 9 +++++++++
testsuite/reftests/css-currentcolor-alpha.ref.ui | 12 ++++++++++++
testsuite/reftests/css-currentcolor-alpha.ui | 11 +++++++++++
4 files changed, 35 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/reftests/Makefile.am b/testsuite/reftests/Makefile.am
index f69b100..85c8994 100644
--- a/testsuite/reftests/Makefile.am
+++ b/testsuite/reftests/Makefile.am
@@ -120,6 +120,9 @@ testdata = \
cellrenderer-pixbuf-stock-rtl.css \
cellrenderer-pixbuf-stock-rtl.ui \
cellrenderer-pixbuf-stock-rtl.ref.ui \
+ css-currentcolor-alpha.css \
+ css-currentcolor-alpha.ui \
+ css-currentcolor-alpha.ref.ui \
css-match-class.css \
css-match-class.ref.ui \
css-match-class.ui \
diff --git a/testsuite/reftests/css-currentcolor-alpha.css b/testsuite/reftests/css-currentcolor-alpha.css
new file mode 100644
index 0000000..5af202e
--- /dev/null
+++ b/testsuite/reftests/css-currentcolor-alpha.css
@@ -0,0 +1,9 @@
+ import "reset-to-defaults.css";
+
+GtkWindow {
+ color: alpha(currentColor, 0.0);
+}
+
+#reference {
+ color: transparent;
+}
diff --git a/testsuite/reftests/css-currentcolor-alpha.ref.ui
b/testsuite/reftests/css-currentcolor-alpha.ref.ui
new file mode 100644
index 0000000..9d475c3
--- /dev/null
+++ b/testsuite/reftests/css-currentcolor-alpha.ref.ui
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <object class="GtkWindow" id="window1">
+ <property name="can_focus">False</property>
+ <property name="type">popup</property>
+ <property name="name">reference</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+</interface>
diff --git a/testsuite/reftests/css-currentcolor-alpha.ui b/testsuite/reftests/css-currentcolor-alpha.ui
new file mode 100644
index 0000000..51595c7
--- /dev/null
+++ b/testsuite/reftests/css-currentcolor-alpha.ui
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <!-- interface-requires gtk+ 3.0 -->
+ <object class="GtkWindow" id="window1">
+ <property name="can_focus">False</property>
+ <property name="type">popup</property>
+ <child>
+ <placeholder/>
+ </child>
+ </object>
+</interface>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]