mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
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:
parent
056ca62778
commit
d7c27ad11a
Notes:
sideshowbarker
2024-07-17 17:54:28 +09:00
Author: https://github.com/krkk
Commit: d7c27ad11a
Pull-request: https://github.com/SerenityOS/serenity/pull/12892
Reviewed-by: https://github.com/AtkinsSJ
Reviewed-by: https://github.com/Xexxa
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue