reftests: Add a test for recent commits

Check that icon-shadow is not affected by -gtk-icon-transform.
This commit is contained in:
Benjamin Otte 2014-05-12 04:51:35 +02:00
parent 783e5f7b3e
commit 5e07b80854
4 changed files with 47 additions and 0 deletions

View File

@ -209,6 +209,9 @@ testdata = \
grid-spacing3.css \
grid-spacing3.ref.ui \
grid-spacing3.ui \
icon-shadow-no-transform.css \
icon-shadow-no-transform.ref.ui \
icon-shadow-no-transform.ui \
icon-style-basics.css \
icon-style-basics.ref.ui \
icon-style-basics.ui \

View File

@ -0,0 +1,11 @@
@import "reset-to-defaults.css";
* {
-gtk-icon-source: url("green-20x20.png");
-gtk-icon-transform: scale(0.5);
icon-shadow: red 1px 1px;
}
#transformed {
-gtk-icon-transform: scale(0.5) rotate(90deg);
}

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.1 -->
<interface>
<requires lib="gtk+" version="3.12"/>
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkSpinner" id="spinner1">
<property name="visible">True</property>
<property name="can_focus">False</property>
</object>
</child>
</object>
</interface>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.1 -->
<interface>
<requires lib="gtk+" version="3.12"/>
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkSpinner" id="spinner1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<style>
<class name="transformed"/>
</style>
</object>
</child>
</object>
</interface>