reftests: Add test for last 2 commits

This commit is contained in:
Benjamin Otte 2013-05-28 15:19:41 +02:00
parent 0bd76a855c
commit cbeda47591
4 changed files with 42 additions and 0 deletions

View File

@ -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 \

View 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;
}

View File

@ -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>

View 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>