reftests: Check that the default border color is the foreground color

This commit is contained in:
Benjamin Otte 2011-06-13 01:52:42 +02:00
parent abc239f444
commit 016e0c1a3e
4 changed files with 53 additions and 0 deletions

View File

@ -29,6 +29,9 @@ EXTRA_DIST += \
background-area.css \
background-area.ref.ui \
background-area.ui \
border-color-default.css \
border-color-default.ref.ui \
border-color-default.ui \
border-image-ball-green.png \
border-image-ball-red.png \
border-image-ball-yellow.png \

View File

@ -0,0 +1,17 @@
* {
border-image: none;
border-style: solid;
border-width: 5;
}
GtkButton {
/* using a nonexistant color because that will lead to the default value */
border-color: @doesnotexist;
color: purple;
}
#reference {
border-color: purple;
color: purple;
}

View File

@ -0,0 +1,17 @@
<?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="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,16 @@
<?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="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>