reftests: Add test for border radius clamping

This commit is contained in:
Benjamin Otte 2011-07-20 23:41:21 +02:00
parent b3f03d092f
commit db66618227
4 changed files with 47 additions and 0 deletions

View File

@ -51,6 +51,9 @@ EXTRA_DIST += \
border-image-url.css \
border-image-url.ref.ui \
border-image-url.ui \
border-radius-clamp.css\
border-radius-clamp.ref.ui \
border-radius-clamp.ui \
box-packing.css \
box-packing.ref.ui \
box-packing.ui \

View File

@ -0,0 +1,9 @@
.progressbar {
engine: none;
border-image: none;
border-radius: 25;
}
#reference .progressbar {
border-radius: 10;
}

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="name">reference</property>
<property name="type">popup</property>
<child>
<object class="GtkProgressBar" id="progressbar1">
<property name="width_request">150</property>
<property name="height_request">20</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="fraction">0.5</property>
</object>
</child>
</object>
</interface>

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="GtkProgressBar" id="progressbar1">
<property name="width_request">150</property>
<property name="height_request">20</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="fraction">0.5</property>
</object>
</child>
</object>
</interface>