forked from AuroraMiddleware/gtk
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:
parent
3a8cec5f17
commit
bce34d80d4
@ -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 \
|
||||
|
BIN
tests/reftests/background-position-repeat-bg.png
Normal file
BIN
tests/reftests/background-position-repeat-bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 193 B |
13
tests/reftests/background-position-repeat.css
Normal file
13
tests/reftests/background-position-repeat.css
Normal 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;
|
||||
}
|
20
tests/reftests/background-position-repeat.ref.ui
Normal file
20
tests/reftests/background-position-repeat.ref.ui
Normal 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>
|
20
tests/reftests/background-position-repeat.ui
Normal file
20
tests/reftests/background-position-repeat.ui
Normal 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>
|
Loading…
Reference in New Issue
Block a user