[gtk+] reftests: Add reftest for 0px border fix
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] reftests: Add reftest for 0px border fix
- Date: Tue, 14 Jan 2014 02:39:56 +0000 (UTC)
commit 60968a1fecb4712ed78b7d2af0b8ab00ccf16f20
Author: Benjamin Otte <otte redhat com>
Date: Tue Jan 14 03:33:24 2014 +0100
reftests: Add reftest for 0px border fix
https://bugzilla.gnome.org/show_bug.cgi?id=721800
testsuite/reftests/721800-0px-dotted-border.css | 5 +++++
testsuite/reftests/721800-0px-dotted-border.ref.ui | 16 ++++++++++++++++
testsuite/reftests/721800-0px-dotted-border.ui | 19 +++++++++++++++++++
testsuite/reftests/Makefile.am | 3 +++
4 files changed, 43 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/reftests/721800-0px-dotted-border.css b/testsuite/reftests/721800-0px-dotted-border.css
new file mode 100644
index 0000000..ad54675
--- /dev/null
+++ b/testsuite/reftests/721800-0px-dotted-border.css
@@ -0,0 +1,5 @@
+ import "reset-to-defaults.css";
+
+.broken {
+ border: 0px dotted purple;
+}
diff --git a/testsuite/reftests/721800-0px-dotted-border.ref.ui
b/testsuite/reftests/721800-0px-dotted-border.ref.ui
new file mode 100644
index 0000000..bcf41a5
--- /dev/null
+++ b/testsuite/reftests/721800-0px-dotted-border.ref.ui
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.16.0 on Tue Jan 14 03:12:07 2014 -->
+<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="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Hello World</property>
+ </object>
+ </child>
+ </object>
+</interface>
diff --git a/testsuite/reftests/721800-0px-dotted-border.ui b/testsuite/reftests/721800-0px-dotted-border.ui
new file mode 100644
index 0000000..3165aa4
--- /dev/null
+++ b/testsuite/reftests/721800-0px-dotted-border.ui
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.16.0 on Tue Jan 14 03:14:21 2014 -->
+<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="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Hello World</property>
+ <style>
+ <class name="broken"/>
+ </style>
+ </object>
+ </child>
+ </object>
+</interface>
diff --git a/testsuite/reftests/Makefile.am b/testsuite/reftests/Makefile.am
index d62f066..bd8746e 100644
--- a/testsuite/reftests/Makefile.am
+++ b/testsuite/reftests/Makefile.am
@@ -31,6 +31,9 @@ EXTRA_DIST += \
$(NULL)
testdata = \
+ 721800-0px-dotted-border.css \
+ 721800-0px-dotted-border.ref.ui \
+ 721800-0px-dotted-border.ui \
actionbar.ref.ui \
actionbar.ui \
alignment-props.css \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]