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:
Matthias Clasen
2019-05-03 01:33:09 +00:00
parent 4f9ea5e54b
commit 2957b86f72
4 changed files with 34 additions and 0 deletions

View File

@ -321,6 +321,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 \

View File

@ -0,0 +1,7 @@
#label {
font-family: nonexisting,Sans;
}
#reference {
font-family: Sans;
}

View File

@ -0,0 +1,12 @@
<?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="name">reference</property>
<property name="label" translatable="yes">abcdefg</property>
</object>
</child>
</object>
</interface>

View File

@ -0,0 +1,12 @@
<?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="name">label</property>
<property name="label" translatable="yes">abcdefg</property>
</object>
</child>
</object>
</interface>