1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:58:12 +00:00

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
parent 628baafefc
commit 767d632ab7

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