LibWeb: Set default serif font to Roman

It's the only Serif font we have, so let's use it!
This commit is contained in:
Karol Kosek 2022-02-19 21:39:30 +01:00 committed by Andreas Kling
commit d7c27ad11a
Notes: sideshowbarker 2024-07-17 17:54:28 +09:00

View file

@ -860,6 +860,7 @@ void StyleComputer::compute_font(StyleProperties& style, DOM::Element const* ele
monospace = true;
return find_font("Csilla");
case ValueID::Serif:
return find_font("Roman");
case ValueID::SansSerif:
case ValueID::Cursive:
case ValueID::Fantasy: