reftests: add a reftest for repeating/positioned background patterns

This currently fails.

https://bugzilla.gnome.org/show_bug.cgi?id=677109
This commit is contained in:
Cosimo Cecchi 2012-05-30 11:30:02 -04:00
parent 3a8cec5f17
commit bce34d80d4
5 changed files with 57 additions and 0 deletions

View File

@ -43,6 +43,10 @@ EXTRA_DIST += \
background-position.css \
background-position.ref.ui \
background-position.ui \
background-position-repeat.css \
background-position-repeat.ref.ui \
background-position-repeat.ui \
background-position-repeat-bg.png \
background-position-simple.css \
background-position-simple.ref.ui \
background-position-simple.ui \

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

View File

@ -0,0 +1,13 @@
@import "reset-to-defaults.css";
#button1_ref {
background-image: url("background-position-repeat-bg.png");
}
#button1 {
background-color: white;
background-image: linear-gradient(to right, red, red 1px);
background-size: 1px 1px;
background-repeat: repeat no-repeat;
background-position: left;
}

View File

@ -0,0 +1,20 @@
<?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>
<object class="GtkButton" id="button1_ref">
<property name="name">button1_ref</property>
<property name="use_action_appearance">False</property>
<property name="width_request">40</property>
<property name="height_request">41</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
</object>
</child>
</object>
</interface>

View File

@ -0,0 +1,20 @@
<?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>
<object class="GtkButton" id="button1">
<property name="name">button1</property>
<property name="use_action_appearance">False</property>
<property name="width_request">40</property>
<property name="height_request">41</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
</object>
</child>
</object>
</interface>