LibWeb: Remove unused enum value CSS::StyleValue::Position

CSS position values are just basic identifiers, they don't require
a custom StyleValue type.
This commit is contained in:
Andreas Kling 2021-07-29 14:51:48 +02:00
parent d0be370568
commit efa9627fc4
Notes: sideshowbarker 2024-07-18 07:47:58 +09:00

View File

@ -223,7 +223,6 @@ public:
Color,
Identifier,
Image,
Position,
CustomProperty,
Numeric,
ValueList,
@ -240,7 +239,6 @@ public:
bool is_image() const { return type() == Type::Image; }
bool is_string() const { return type() == Type::String; }
bool is_length() const { return type() == Type::Length; }
bool is_position() const { return type() == Type::Position; }
bool is_custom_property() const { return type() == Type::CustomProperty; }
bool is_numeric() const { return type() == Type::Numeric; }
bool is_value_list() const