reftests: Add background-area reftest

Checks the fix from last commit: background area is supposed to be the
border box.
This commit is contained in:
Benjamin Otte 2011-06-11 02:12:35 +02:00
parent c56700ca30
commit 281ce813fc
4 changed files with 59 additions and 0 deletions

View File

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

View File

@ -0,0 +1,19 @@
* {
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);
}

View File

@ -0,0 +1,19 @@
<?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>

View File

@ -0,0 +1,18 @@
<?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>