font-family in CSS is not handling multiple entries
Steps to reproduce
- start
gtk3-demo --run css_basics
- In the CSS text specify a dummy font at the first place, and specify an existing font in the second place which you would recognize and which is different than the default Sans font.
Example:
font-family: dummyfontname, Verdana;
or
font-family: dummyfontname, Roboto;
Current behavior
Instead of using the existing font specified at the second place, GTK falls back to default Sans
Expected outcome
The text should be displayed using the font specified at the second place.
According to the CSS specification, font-family
is supported with multiple values.
Version information
GTK 3.24.7
Confirmed the same erroneous behavior on
- Windows
- Debian/Sid,
- Manjaro/KDE