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 1c9a486d60
commit 7037ff8f3d
4 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,3 @@
* {
font-family: nonexisting,Sans;
}

View 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>

View 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>

View File

@ -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',