reftests: Add a test for matching by subtype

This commit is contained in:
Benjamin Otte 2011-05-14 13:36:00 +02:00
parent 90caef4abe
commit 269fe0f347
4 changed files with 43 additions and 0 deletions

View File

@ -29,6 +29,9 @@ EXTRA_DIST += \
box-packing.css \
box-packing.ref.ui \
box-packing.ui \
css-match-subtype.css \
css-match-subtype.ref.ui \
css-match-subtype.ui \
css-match-type.css \
css-match-type.ref.ui \
css-match-type.ui \

View File

@ -0,0 +1,11 @@
GtkContainer {
engine: none;
background-image: none;
background-color: green;
border-radius: 0;
border-style: none;
}
NotGtkContainer {
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>