From efa9627fc4e4c22bc089f9914209e1ffac8c1243 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 29 Jul 2021 14:51:48 +0200 Subject: [PATCH] LibWeb: Remove unused enum value CSS::StyleValue::Position CSS position values are just basic identifiers, they don't require a custom StyleValue type. --- Userland/Libraries/LibWeb/CSS/StyleValue.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/Userland/Libraries/LibWeb/CSS/StyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValue.h index 3a9ea52ded0..5501772d594 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleValue.h +++ b/Userland/Libraries/LibWeb/CSS/StyleValue.h @@ -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