reftests: Add test to check that matching by type works

This commit is contained in:
Benjamin Otte 2011-05-14 13:35:19 +02:00
parent 174cfff50f
commit 90caef4abe
5 changed files with 44 additions and 0 deletions

View File

@ -29,9 +29,13 @@ EXTRA_DIST += \
box-packing.css \
box-packing.ref.ui \
box-packing.ui \
css-match-type.css \
css-match-type.ref.ui \
css-match-type.ui \
entry-progress-coloring.css \
entry-progress-coloring.ref.ui \
entry-progress-coloring.ui \
green-20x20.png \
grid-expand.css \
grid-expand.ref.ui \
grid-expand.ui \

View File

@ -0,0 +1,11 @@
GtkWindow {
engine: none;
background-image: none;
background-color: green;
border-radius: 0;
border-style: none;
}
NotGtkWindow {
background-color: red;
}

View File

@ -0,0 +1,15 @@
<?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="GtkImage" id="image1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="pixbuf">green-20x20.png</property>
</object>
</child>
</object>
</interface>

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkWindow" id="window1">
<property name="width_request">20</property>
<property name="height_request">20</property>
<property name="can_focus">False</property>
<property name="type">popup</property>
<property name="name">window</property>
<style>
<class name="window" />
</style>
</object>
</interface>

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 B