Commit 281ce813 authored by Benjamin Otte's avatar Benjamin Otte
Browse files

reftests: Add background-area reftest

Checks the fix from last commit: background area is supposed to be the
border box.
parent c56700ca
......@@ -26,6 +26,9 @@ clean-local:
EXTRA_DIST += \
align-expand.sh \
background-area.css \
background-area.ref.ui \
background-area.ui \
border-image-ball-green.png \
border-image-ball-red.png \
border-image-ball-yellow.png \
......
* {
engine: none;
border-radius: 0;
border-style: none;
border-image: none;
background-image: none;
}
GtkButton {
background-color: green;
border-style: solid;
border-color: rgba(255,0,0,0.6);
border-width: 4;
}
#reference {
border-color: rgb(153,102,0);
}
<?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">reference</property>
<property name="label" translatable="yes">Make sure that the background
area contains the border.</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>
<?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="label" translatable="yes">Make sure that the background
area contains the border.</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>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment