reftests: Add a reftest for recent commit

Check that a computed background-size of 0 is treated as 0.
This commit is contained in:
Benjamin Otte 2012-10-26 23:38:19 +02:00
parent 67302c5ee0
commit a68e76e058
4 changed files with 37 additions and 0 deletions

View File

@ -56,6 +56,9 @@ EXTRA_DIST += \
background-size-keywords.css \
background-size-keywords.ref.ui \
background-size-keywords.ui \
background-size-zero.css \
background-size-zero.ref.ui \
background-size-zero.ui \
background-window-transparent.css \
background-window-transparent.ref.ui \
background-window-transparent.ui \

View File

@ -0,0 +1,11 @@
@import "reset-to-defaults.css";
.background {
background-image: linear-gradient(to right, blue);
background-size: 0%;
}
#reference {
background-image: initial;
background-size: initial;
}

View File

@ -0,0 +1,12 @@
<?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>
<property name="name">reference</property>
<child>
<placeholder/>
</child>
</object>
</interface>

View File

@ -0,0 +1,11 @@
<?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>
<placeholder/>
</child>
</object>
</interface>