forked from AuroraMiddleware/gtk
Add a reftest for multiple font families
This tests that listing multiple font families in the css font-family property works as expected.
This commit is contained in:
parent
1c9a486d60
commit
7037ff8f3d
3
testsuite/reftests/label-fonts.css
Normal file
3
testsuite/reftests/label-fonts.css
Normal file
@ -0,0 +1,3 @@
|
||||
* {
|
||||
font-family: nonexisting,Sans;
|
||||
}
|
11
testsuite/reftests/label-fonts.ref.ui
Normal file
11
testsuite/reftests/label-fonts.ref.ui
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<object class="GtkWindow" id="window1">
|
||||
<property name="type">popup</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label3">
|
||||
<property name="label" translatable="yes">abcdefg</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
11
testsuite/reftests/label-fonts.ui
Normal file
11
testsuite/reftests/label-fonts.ui
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<object class="GtkWindow" id="window1">
|
||||
<property name="type">popup</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label3">
|
||||
<property name="label" translatable="yes">abcdefg</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
@ -267,6 +267,9 @@ testdata = [
|
||||
'label-ellipsize-small.ui',
|
||||
'label-ellipsize-with-big.ref.ui',
|
||||
'label-ellipsize-with-big.ui',
|
||||
'label-fonts.css',
|
||||
'label-fonts.ref.ui',
|
||||
'label-fonts.ui',
|
||||
'label-shadows.css',
|
||||
'label-shadows.ref.ui',
|
||||
'label-shadows.ui',
|
||||
|
Loading…
Reference in New Issue
Block a user