summaryrefslogtreecommitdiff
path: root/tests/reftests/css-match-inherit-different-state.ui
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-12-29 22:03:02 +0100
committerBenjamin Otte <otte@redhat.com>2012-01-09 18:37:51 +0100
commit53bb230e122aeb1296a7a9c2d76d94109cd7bb5c (patch)
tree587649b0808cc9130c133af7d24ebc6b40d31d8e /tests/reftests/css-match-inherit-different-state.ui
parente9dfb8d5b8e186bc2c9caca872b1b999b24ccbdc (diff)
downloadgtk+-53bb230e122aeb1296a7a9c2d76d94109cd7bb5c.tar.gz
reftests: Add a test for a parent in a different state
inherit in those cases should inherit from that different state, not from this state.
Diffstat (limited to 'tests/reftests/css-match-inherit-different-state.ui')
-rw-r--r--tests/reftests/css-match-inherit-different-state.ui25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/reftests/css-match-inherit-different-state.ui b/tests/reftests/css-match-inherit-different-state.ui
new file mode 100644
index 0000000000..df4a151fae
--- /dev/null
+++ b/tests/reftests/css-match-inherit-different-state.ui
@@ -0,0 +1,25 @@
+<?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>
+ <object class="GtkButton" id="button1">
+ <property name="use_action_appearance">False</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_action_appearance">False</property>
+ <child>
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="sensitive">False</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">I should be green</property>
+ </object>
+ </child>
+ </object>
+ </child>
+ </object>
+</interface>