forked from AuroraMiddleware/gtk
reftests: Add test for last 2 commits
This commit is contained in:
parent
0bd76a855c
commit
cbeda47591
@ -216,6 +216,9 @@ testdata = \
|
|||||||
linear-gradient.css \
|
linear-gradient.css \
|
||||||
linear-gradient.ref.ui \
|
linear-gradient.ref.ui \
|
||||||
linear-gradient.ui \
|
linear-gradient.ui \
|
||||||
|
linear-gradient-transition-to-other.css \
|
||||||
|
linear-gradient-transition-to-other.ref.ui \
|
||||||
|
linear-gradient-transition-to-other.ui \
|
||||||
marble.xpm \
|
marble.xpm \
|
||||||
messagedialog-secondarytext.ui \
|
messagedialog-secondarytext.ui \
|
||||||
messagedialog-secondarytext.ref.ui \
|
messagedialog-secondarytext.ref.ui \
|
||||||
|
16
testsuite/reftests/linear-gradient-transition-to-other.css
Normal file
16
testsuite/reftests/linear-gradient-transition-to-other.css
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
@keyframes anim {
|
||||||
|
100% { background-image: url("green-20x20.png"); }
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes ref {
|
||||||
|
100% { background-image: linear-gradient(to bottom, lime); }
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: linear-gradient(to bottom, red);
|
||||||
|
animation: anim steps(5,end) 20s;
|
||||||
|
}
|
||||||
|
|
||||||
|
#reference {
|
||||||
|
animation-name: ref;
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<interface>
|
||||||
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
|
<object class="GtkActionGroup" id="actiongroup1"/>
|
||||||
|
<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">reference</property>
|
||||||
|
</object>
|
||||||
|
</interface>
|
11
testsuite/reftests/linear-gradient-transition-to-other.ui
Normal file
11
testsuite/reftests/linear-gradient-transition-to-other.ui
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<interface>
|
||||||
|
<!-- interface-requires gtk+ 3.0 -->
|
||||||
|
<object class="GtkActionGroup" id="actiongroup1"/>
|
||||||
|
<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>
|
||||||
|
</object>
|
||||||
|
</interface>
|
Loading…
Reference in New Issue
Block a user