summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML/CSS
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibHTML/CSS')
-rw-r--r--Libraries/LibHTML/CSS/StyleProperties.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Libraries/LibHTML/CSS/StyleProperties.cpp b/Libraries/LibHTML/CSS/StyleProperties.cpp
index ff3528f7d7..2ad7ef1447 100644
--- a/Libraries/LibHTML/CSS/StyleProperties.cpp
+++ b/Libraries/LibHTML/CSS/StyleProperties.cpp
@@ -51,8 +51,10 @@ void StyleProperties::load_font() const
weight = "";
else if (font_weight == "bold")
weight = "Bold";
- else
- ASSERT_NOT_REACHED();
+ else {
+ dbg() << "Unknown font-weight: " << font_weight;
+ weight = "";
+ }
auto look_for_file = [](const StringView& expected_name) -> String {
// TODO: handle font sizes properly?