summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/CSS
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-10-24 16:27:44 +0200
committerAndreas Kling <kling@serenityos.org>2020-10-25 10:12:03 +0100
commit5abc03db0d5fd6d0cd2535b5922a7fd8b85dd1da (patch)
treea4e8b7f9f02db12303695d233180ed205661e26d /Libraries/LibWeb/CSS
parent688675e89b3faf0ad3444f0ae958e3a25b9e06fe (diff)
downloadserenity-5abc03db0d5fd6d0cd2535b5922a7fd8b85dd1da.zip
Fonts: Rename font files consistently
Font files are now all named like this: <Family><Weight><Size>.font This will make it much easier/sane to perform font lookup.
Diffstat (limited to 'Libraries/LibWeb/CSS')
-rw-r--r--Libraries/LibWeb/CSS/StyleProperties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibWeb/CSS/StyleProperties.cpp b/Libraries/LibWeb/CSS/StyleProperties.cpp
index 2e15aa949d..3198e5c87f 100644
--- a/Libraries/LibWeb/CSS/StyleProperties.cpp
+++ b/Libraries/LibWeb/CSS/StyleProperties.cpp
@@ -116,7 +116,7 @@ void StyleProperties::load_font() const
if (font_weight == "lighter")
weight = "Thin";
else if (font_weight == "normal")
- weight = "";
+ weight = "Regular";
else if (font_weight == "bold")
weight = "Bold";
else {