summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-29 14:51:48 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-29 15:01:47 +0200
commitefa9627fc4e4c22bc089f9914209e1ffac8c1243 (patch)
treec875b2cc489eba0d78a8d3b8ffb3d97baf756d69 /Userland/Libraries/LibWeb
parentd0be3705688c8fbdf3b1c2c407add7748a4a8a0e (diff)
downloadserenity-efa9627fc4e4c22bc089f9914209e1ffac8c1243.zip
LibWeb: Remove unused enum value CSS::StyleValue::Position
CSS position values are just basic identifiers, they don't require a custom StyleValue type.
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r--Userland/Libraries/LibWeb/CSS/StyleValue.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/StyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValue.h
index 3a9ea52ded..5501772d59 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