forked from AuroraMiddleware/gtk
reftests: Add test for border radius clamping
This commit is contained in:
parent
b3f03d092f
commit
db66618227
@ -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 \
|
||||
|
9
tests/reftests/border-radius-clamp.css
Normal file
9
tests/reftests/border-radius-clamp.css
Normal file
@ -0,0 +1,9 @@
|
||||
.progressbar {
|
||||
engine: none;
|
||||
border-image: none;
|
||||
border-radius: 25;
|
||||
}
|
||||
|
||||
#reference .progressbar {
|
||||
border-radius: 10;
|
||||
}
|
18
tests/reftests/border-radius-clamp.ref.ui
Normal file
18
tests/reftests/border-radius-clamp.ref.ui
Normal 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>
|
17
tests/reftests/border-radius-clamp.ui
Normal file
17
tests/reftests/border-radius-clamp.ui
Normal 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>
|
Loading…
Reference in New Issue
Block a user