reftests: Add a test that checks that * matches regions

This commit is contained in:
Benjamin Otte 2011-05-15 13:20:51 +02:00
parent dda83e2f98
commit 806c804271
4 changed files with 74 additions and 0 deletions

View File

@ -35,6 +35,9 @@ EXTRA_DIST += \
css-match-name.css \
css-match-name.ref.ui \
css-match-name.ui \
css-match-region-matches-star.css \
css-match-region-matches-star.ref.ui \
css-match-region-matches-star.ui \
css-match-regions.css \
css-match-regions.ref.ui \
css-match-regions.ui \

View File

@ -0,0 +1,8 @@
GtkNotebook * GtkLabel {
color: blue
}
/* for reference */
#blue {
color: blue
}

View File

@ -0,0 +1,32 @@
<?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="GtkNotebook" id="notebook1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Page 1</property>
</object>
</child>
<child type="tab">
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Page 1</property>
<property name="name">blue</property>
</object>
<packing>
<property name="tab_fill">False</property>
</packing>
</child>
</object>
</child>
</object>
</interface>

View File

@ -0,0 +1,31 @@
<?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="GtkNotebook" id="notebook1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Page 1</property>
</object>
</child>
<child type="tab">
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Page 1</property>
</object>
<packing>
<property name="tab_fill">False</property>
</packing>
</child>
</object>
</child>
</object>
</interface>