mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:47:35 +00:00
LibWeb: VERIFY when getting a length from an invalid StyleValue
This commit is contained in:
parent
2df8d9c609
commit
699b48ccc8
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ public:
|
||||||
|
|
||||||
virtual Color to_color(Layout::NodeWithStyle const&) const { return {}; }
|
virtual Color to_color(Layout::NodeWithStyle const&) const { return {}; }
|
||||||
virtual CSS::ValueID to_identifier() const { return ValueID::Invalid; }
|
virtual CSS::ValueID to_identifier() const { return ValueID::Invalid; }
|
||||||
virtual Length to_length() const { return {}; }
|
virtual Length to_length() const { VERIFY_NOT_REACHED(); }
|
||||||
virtual float to_number() const { return 0; }
|
virtual float to_number() const { return 0; }
|
||||||
virtual float to_integer() const { return 0; }
|
virtual float to_integer() const { return 0; }
|
||||||
virtual String to_string() const = 0;
|
virtual String to_string() const = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue