From 767d632ab7ef601298dba98f89c3a56bf92017e8 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 2 Nov 2022 19:07:17 +0100 Subject: [PATCH] LibWeb: Don't panic on unsupported text-decoration-line values Instead, just log a FIXME message and move on. --- Userland/Libraries/LibWeb/CSS/StyleProperties.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp b/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp index 58bb482f93..0af11f79e5 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp +++ b/Userland/Libraries/LibWeb/CSS/StyleProperties.cpp @@ -608,7 +608,8 @@ Vector StyleProperties::text_decoration_line() const if (value->is_identifier() && value->to_identifier() == ValueID::None) return {}; - VERIFY_NOT_REACHED(); + dbgln("FIXME: Unsupported value for text-decoration-line: {}", value->to_string()); + return {}; } Optional StyleProperties::text_decoration_style() const