LibWeb: Don't panic on unsupported text-decoration-line values

Instead, just log a FIXME message and move on.
This commit is contained in:
Andreas Kling 2022-11-02 19:07:17 +01:00
commit 767d632ab7
Notes: sideshowbarker 2024-07-18 00:41:35 +09:00

View file

@ -608,7 +608,8 @@ Vector<CSS::TextDecorationLine> 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<CSS::TextDecorationStyle> StyleProperties::text_decoration_style() const