diff --git a/Libraries/LibWeb/CSS/StyleValues/CSSNumericValue.h b/Libraries/LibWeb/CSS/StyleValues/CSSNumericValue.h deleted file mode 100644 index 09e0f6f5bb1..00000000000 --- a/Libraries/LibWeb/CSS/StyleValues/CSSNumericValue.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (c) 2024, Sam Atkins - * - * SPDX-License-Identifier: BSD-2-Clause - */ - -#pragma once - -#include - -namespace Web::CSS { - -// https://drafts.css-houdini.org/css-typed-om-1/#cssnumericvalue -class CSSNumericValue : public StyleValue { -public: - virtual ~CSSNumericValue() override = default; - -protected: - explicit CSSNumericValue(Type type) - : StyleValue(type) - { - } -}; - -} diff --git a/Libraries/LibWeb/CSS/StyleValues/CSSUnitValue.h b/Libraries/LibWeb/CSS/StyleValues/CSSUnitValue.h index 22e28e3c722..976b7e9034f 100644 --- a/Libraries/LibWeb/CSS/StyleValues/CSSUnitValue.h +++ b/Libraries/LibWeb/CSS/StyleValues/CSSUnitValue.h @@ -9,12 +9,12 @@ #include #include #include -#include +#include namespace Web::CSS { // https://drafts.css-houdini.org/css-typed-om-1/#cssunitvalue -class CSSUnitValue : public CSSNumericValue { +class CSSUnitValue : public StyleValue { public: virtual ~CSSUnitValue() override = default; @@ -27,7 +27,7 @@ public: protected: explicit CSSUnitValue(Type type) - : CSSNumericValue(type) + : StyleValue(type) { } };