mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
reftests: Add a test for recent commits
Check that icon-shadow is not affected by -gtk-icon-transform.
This commit is contained in:
parent
783e5f7b3e
commit
5e07b80854
@ -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 \
|
||||
|
11
testsuite/reftests/icon-shadow-no-transform.css
Normal file
11
testsuite/reftests/icon-shadow-no-transform.css
Normal 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);
|
||||
}
|
15
testsuite/reftests/icon-shadow-no-transform.ref.ui
Normal file
15
testsuite/reftests/icon-shadow-no-transform.ref.ui
Normal 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>
|
18
testsuite/reftests/icon-shadow-no-transform.ui
Normal file
18
testsuite/reftests/icon-shadow-no-transform.ui
Normal 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>
|
Loading…
Reference in New Issue
Block a user