Truly independent web browser
LibWeb: Remove more StyleValue subclasses nothing reads
Aliaksandr Kalenik1bb255aa0af7
diff --git a/Libraries/LibWeb/CMakeLists.txt b/Libraries/LibWeb/CMakeLists.txtindex e0dc5fbfcba..9cf62b2b03f 100644--- a/Libraries/LibWeb/CMakeLists.txt+++ b/Libraries/LibWeb/CMakeLists.txt@@ -247,7 +247,6 @@ set(SOURCESCSS/StyleValues/LengthStyleValue.cppCSS/StyleValues/NumberStyleValue.cppCSS/StyleValues/OpacityValueStyleValue.cpp- CSS/StyleValues/OpenTypeTaggedStyleValue.cppCSS/StyleValues/RatioStyleValue.cppCSS/StyleValues/ShadowStyleValue.cppCSS/StyleValues/ShorthandStyleValue.cppdiff --git a/Libraries/LibWeb/CSS/ComputedStyleWorkingSet.cpp b/Libraries/LibWeb/CSS/ComputedStyleWorkingSet.cppindex a48f3de603c..984ab249881 100644--- a/Libraries/LibWeb/CSS/ComputedStyleWorkingSet.cpp+++ b/Libraries/LibWeb/CSS/ComputedStyleWorkingSet.cpp@@ -25,7 +25,6 @@#include <LibWeb/CSS/StyleValues/LengthStyleValue.h>#include <LibWeb/CSS/StyleValues/NumberStyleValue.h>#include <LibWeb/CSS/StyleValues/OpacityValueStyleValue.h>-#include <LibWeb/CSS/StyleValues/OpenTypeTaggedStyleValue.h>#include <LibWeb/CSS/StyleValues/PercentageStyleValue.h>#include <LibWeb/CSS/StyleValues/StringStyleValue.h>#include <LibWeb/CSS/StyleValues/StyleValueList.h>diff --git a/Libraries/LibWeb/CSS/ComputedValues.cpp b/Libraries/LibWeb/CSS/ComputedValues.cppindex 147814d0f3b..13bd7c45012 100644--- a/Libraries/LibWeb/CSS/ComputedValues.cpp+++ b/Libraries/LibWeb/CSS/ComputedValues.cpp@@ -15,7 +15,6 @@#include <LibWeb/CSS/StyleValues/AbstractImageStyleValue.h>#include <LibWeb/CSS/StyleValues/AngleStyleValue.h>#include <LibWeb/CSS/StyleValues/BackgroundSizeStyleValue.h>-#include <LibWeb/CSS/StyleValues/BorderImageSliceStyleValue.h>#include <LibWeb/CSS/StyleValues/CalculatedStyleValue.h>#include <LibWeb/CSS/StyleValues/ColorSchemeStyleValue.h>#include <LibWeb/CSS/StyleValues/ColorStyleValue.h>@@ -23,7 +22,6 @@#include <LibWeb/CSS/StyleValues/CounterDefinitionsStyleValue.h>#include <LibWeb/CSS/StyleValues/CursorStyleValue.h>#include <LibWeb/CSS/StyleValues/CustomIdentStyleValue.h>-#include <LibWeb/CSS/StyleValues/EdgeStyleValue.h>#include <LibWeb/CSS/StyleValues/FilterStyleValue.h>#include <LibWeb/CSS/StyleValues/FontStyleStyleValue.h>#include <LibWeb/CSS/StyleValues/FunctionStyleValue.h>@@ -34,9 +32,7 @@#include <LibWeb/CSS/StyleValues/NumberStyleValue.h>#include <LibWeb/CSS/StyleValues/OpacityValueStyleValue.h>#include <LibWeb/CSS/StyleValues/PercentageStyleValue.h>-#include <LibWeb/CSS/StyleValues/PositionStyleValue.h>#include <LibWeb/CSS/StyleValues/RatioStyleValue.h>-#include <LibWeb/CSS/StyleValues/RepeatStyleStyleValue.h>#include <LibWeb/CSS/StyleValues/StringStyleValue.h>#include <LibWeb/CSS/StyleValues/StyleValueList.h>#include <LibWeb/CSS/StyleValues/TimeStyleValue.h>diff --git a/Libraries/LibWeb/CSS/StyleComputer.cpp b/Libraries/LibWeb/CSS/StyleComputer.cppindex 37b405ce6e7..b01d44a5c33 100644--- a/Libraries/LibWeb/CSS/StyleComputer.cpp+++ b/Libraries/LibWeb/CSS/StyleComputer.cpp@@ -73,10 +73,8 @@#include <LibWeb/CSS/StyleValues/KeywordStyleValue.h>#include <LibWeb/CSS/StyleValues/LengthStyleValue.h>#include <LibWeb/CSS/StyleValues/NumberStyleValue.h>-#include <LibWeb/CSS/StyleValues/OpenTypeTaggedStyleValue.h>#include <LibWeb/CSS/StyleValues/PendingSubstitutionStyleValue.h>#include <LibWeb/CSS/StyleValues/PercentageStyleValue.h>-#include <LibWeb/CSS/StyleValues/PositionStyleValue.h>#include <LibWeb/CSS/StyleValues/RatioStyleValue.h>#include <LibWeb/CSS/StyleValues/ShorthandStyleValue.h>#include <LibWeb/CSS/StyleValues/StringStyleValue.h>diff --git a/Libraries/LibWeb/CSS/StyleValues/BorderImageSliceStyleValue.h b/Libraries/LibWeb/CSS/StyleValues/BorderImageSliceStyleValue.hdeleted file mode 100644index 798f04bcf9e..00000000000--- a/Libraries/LibWeb/CSS/StyleValues/BorderImageSliceStyleValue.h+++ /dev/null@@ -1,33 +0,0 @@-/*- * Copyright (c) 2025, Tim Ledbetter <[email protected]>- *- * SPDX-License-Identifier: BSD-2-Clause- */--#pragma once--#include <LibWeb/CSS/StyleValues/StyleValue.h>--namespace Web::CSS {--class BorderImageSliceStyleValue final : public StyleValueWithDefaultOperators<BorderImageSliceStyleValue> {-public:- virtual ~BorderImageSliceStyleValue() override = default;-- ValueComparingNonnullRefPtr<StyleValue const> top() const { return wrap_rust_child(m_value->border_image_slice.top); }- ValueComparingNonnullRefPtr<StyleValue const> left() const { return wrap_rust_child(m_value->border_image_slice.left); }- ValueComparingNonnullRefPtr<StyleValue const> bottom() const { return wrap_rust_child(m_value->border_image_slice.bottom); }- ValueComparingNonnullRefPtr<StyleValue const> right() const { return wrap_rust_child(m_value->border_image_slice.right); }-- bool fill() const { return m_value->border_image_slice.fill; }--private:- friend class StyleValue;-- explicit BorderImageSliceStyleValue(StyleValueFFI::StyleValueData const* data)- : StyleValueWithDefaultOperators(Type::BorderImageSlice, data)- {- }-};--}diff --git a/Libraries/LibWeb/CSS/StyleValues/EdgeStyleValue.h b/Libraries/LibWeb/CSS/StyleValues/EdgeStyleValue.hdeleted file mode 100644index bb40c76c023..00000000000--- a/Libraries/LibWeb/CSS/StyleValues/EdgeStyleValue.h+++ /dev/null@@ -1,29 +0,0 @@-/*- * Copyright (c) 2023, MacDue <[email protected]>- *- * SPDX-License-Identifier: BSD-2-Clause- */--#pragma once--#include <LibWeb/CSS/StyleValues/StyleValue.h>--namespace Web::CSS {--class EdgeStyleValue final : public StyleValueWithDefaultOperators<EdgeStyleValue> {-public:- virtual ~EdgeStyleValue() override = default;-- // This is nonnull as it is only called after resolving keywords- NonnullRefPtr<StyleValue const> offset() const { return wrap_rust_child(m_value->edge.offset); }--private:- friend class StyleValue;-- explicit EdgeStyleValue(StyleValueFFI::StyleValueData const* data)- : StyleValueWithDefaultOperators(Type::Edge, data)- {- }-};--}diff --git a/Libraries/LibWeb/CSS/StyleValues/OpenTypeTaggedStyleValue.cpp b/Libraries/LibWeb/CSS/StyleValues/OpenTypeTaggedStyleValue.cppdeleted file mode 100644index 63670be4746..00000000000--- a/Libraries/LibWeb/CSS/StyleValues/OpenTypeTaggedStyleValue.cpp+++ /dev/null@@ -1,17 +0,0 @@-/*- * Copyright (c) 2024-2025, Sam Atkins <[email protected]>- *- * SPDX-License-Identifier: BSD-2-Clause- */--#include "OpenTypeTaggedStyleValue.h"-#include <LibWeb/CSS/Serialize.h>--namespace Web::CSS {--// The mode discriminant crosses the style value FFI as a raw code; the Rust serializer-// depends on it.-static_assert(to_underlying(OpenTypeTaggedStyleValue::Mode::FontFeatureSettings) == 0);-static_assert(to_underlying(OpenTypeTaggedStyleValue::Mode::FontVariationSettings) == 1);--}diff --git a/Libraries/LibWeb/CSS/StyleValues/OpenTypeTaggedStyleValue.h b/Libraries/LibWeb/CSS/StyleValues/OpenTypeTaggedStyleValue.hdeleted file mode 100644index 80a2251bc88..00000000000--- a/Libraries/LibWeb/CSS/StyleValues/OpenTypeTaggedStyleValue.h+++ /dev/null@@ -1,38 +0,0 @@-/*- * Copyright (c) 2024-2025, Sam Atkins <[email protected]>- *- * SPDX-License-Identifier: BSD-2-Clause- */--#pragma once--#include <AK/Utf16FlyString.h>-#include <LibWeb/CSS/StyleValues/StyleValue.h>--namespace Web::CSS {--// An `<opentype-tag>` followed by an optional value.-// For example, <feature-tag-value> ( https://drafts.csswg.org/css-fonts/#feature-tag-value )-// and the `<opentype-tag> <number>` construct for `font-variation-settings`.-class OpenTypeTaggedStyleValue : public StyleValueWithDefaultOperators<OpenTypeTaggedStyleValue> {-public:- enum class Mode {- FontFeatureSettings,- FontVariationSettings,- };- virtual ~OpenTypeTaggedStyleValue() override = default;-- Mode mode() const { return static_cast<Mode>(m_value->open_type_tagged.mode); }- Utf16FlyString tag() const { return css_string_from_rust(&m_value->open_type_tagged.tag_name); }- ValueComparingNonnullRefPtr<StyleValue const> value() const { return wrap_rust_child(m_value->open_type_tagged.value); }--private:- friend class StyleValue;-- explicit OpenTypeTaggedStyleValue(StyleValueFFI::StyleValueData const* data)- : StyleValueWithDefaultOperators(Type::OpenTypeTagged, data)- {- }-};--}diff --git a/Libraries/LibWeb/CSS/StyleValues/PositionStyleValue.h b/Libraries/LibWeb/CSS/StyleValues/PositionStyleValue.hdeleted file mode 100644index e90da98a139..00000000000--- a/Libraries/LibWeb/CSS/StyleValues/PositionStyleValue.h+++ /dev/null@@ -1,35 +0,0 @@-/*- * Copyright (c) 2018-2020, Andreas Kling <[email protected]>- * Copyright (c) 2021, Tobias Christiansen <[email protected]>- * Copyright (c) 2021-2023, Sam Atkins <[email protected]>- * Copyright (c) 2022-2023, MacDue <[email protected]>- *- * SPDX-License-Identifier: BSD-2-Clause- */--#pragma once--#include <LibWeb/CSS/StyleValues/EdgeStyleValue.h>-#include <LibWeb/CSS/StyleValues/StyleValue.h>-#include <LibWeb/Export.h>-#include <LibWebCommon/PixelUnits.h>--namespace Web::CSS {--class WEB_API PositionStyleValue final : public StyleValueWithDefaultOperators<PositionStyleValue> {-public:- virtual ~PositionStyleValue() override = default;-- ValueComparingNonnullRefPtr<EdgeStyleValue const> edge_x() const { return wrap_rust_child(m_value->position.edge_x)->as_edge(); }- ValueComparingNonnullRefPtr<EdgeStyleValue const> edge_y() const { return wrap_rust_child(m_value->position.edge_y)->as_edge(); }--private:- friend class StyleValue;-- explicit PositionStyleValue(StyleValueFFI::StyleValueData const* data)- : StyleValueWithDefaultOperators(Type::Position, data)- {- }-};--}diff --git a/Libraries/LibWeb/CSS/StyleValues/RepeatStyleStyleValue.h b/Libraries/LibWeb/CSS/StyleValues/RepeatStyleStyleValue.hdeleted file mode 100644index b93237ed95e..00000000000--- a/Libraries/LibWeb/CSS/StyleValues/RepeatStyleStyleValue.h+++ /dev/null@@ -1,32 +0,0 @@-/*- * Copyright (c) 2018-2020, Andreas Kling <[email protected]>- * Copyright (c) 2021, Tobias Christiansen <[email protected]>- * Copyright (c) 2021-2023, Sam Atkins <[email protected]>- * Copyright (c) 2022-2023, MacDue <[email protected]>- *- * SPDX-License-Identifier: BSD-2-Clause- */--#pragma once--#include <LibWeb/CSS/StyleValues/StyleValue.h>--namespace Web::CSS {--class RepeatStyleStyleValue final : public StyleValueWithDefaultOperators<RepeatStyleStyleValue> {-public:- virtual ~RepeatStyleStyleValue() override = default;-- Repetition repeat_x() const { return static_cast<Repetition>(m_value->repeat_style.repeat_x); }- Repetition repeat_y() const { return static_cast<Repetition>(m_value->repeat_style.repeat_y); }--private:- friend class StyleValue;-- explicit RepeatStyleStyleValue(StyleValueFFI::StyleValueData const* data)- : StyleValueWithDefaultOperators(Type::RepeatStyle, data)- {- }-};--}diff --git a/Libraries/LibWeb/CSS/StyleValues/StyleValue.cpp b/Libraries/LibWeb/CSS/StyleValues/StyleValue.cppindex cc074e33a7c..57a8f22a346 100644--- a/Libraries/LibWeb/CSS/StyleValues/StyleValue.cpp+++ b/Libraries/LibWeb/CSS/StyleValues/StyleValue.cpp@@ -20,7 +20,6 @@#include <LibWeb/CSS/StyleValues/AbstractImageStyleValue.h>#include <LibWeb/CSS/StyleValues/AngleStyleValue.h>#include <LibWeb/CSS/StyleValues/BackgroundSizeStyleValue.h>-#include <LibWeb/CSS/StyleValues/BorderImageSliceStyleValue.h>#include <LibWeb/CSS/StyleValues/CalculatedStyleValue.h>#include <LibWeb/CSS/StyleValues/ColorFunctionStyleValue.h>#include <LibWeb/CSS/StyleValues/ColorSchemeStyleValue.h>@@ -31,7 +30,6 @@#include <LibWeb/CSS/StyleValues/CursorStyleValue.h>#include <LibWeb/CSS/StyleValues/CustomIdentStyleValue.h>#include <LibWeb/CSS/StyleValues/DisplayStyleValue.h>-#include <LibWeb/CSS/StyleValues/EdgeStyleValue.h>#include <LibWeb/CSS/StyleValues/FilterStyleValue.h>#include <LibWeb/CSS/StyleValues/FlexStyleValue.h>#include <LibWeb/CSS/StyleValues/FontSourceStyleValue.h>@@ -45,12 +43,9 @@#include <LibWeb/CSS/StyleValues/LengthStyleValue.h>#include <LibWeb/CSS/StyleValues/NumberStyleValue.h>#include <LibWeb/CSS/StyleValues/OpacityValueStyleValue.h>-#include <LibWeb/CSS/StyleValues/OpenTypeTaggedStyleValue.h>#include <LibWeb/CSS/StyleValues/PendingSubstitutionStyleValue.h>#include <LibWeb/CSS/StyleValues/PercentageStyleValue.h>-#include <LibWeb/CSS/StyleValues/PositionStyleValue.h>#include <LibWeb/CSS/StyleValues/RatioStyleValue.h>-#include <LibWeb/CSS/StyleValues/RepeatStyleStyleValue.h>#include <LibWeb/CSS/StyleValues/ResolutionStyleValue.h>#include <LibWeb/CSS/StyleValues/ShadowStyleValue.h>#include <LibWeb/CSS/StyleValues/ShorthandStyleValue.h>@@ -129,7 +124,7 @@ ValueComparingNonnullRefPtr<StyleValue const> StyleValue::adopt_rust_style_valuecase StyleValueFFI::StyleValueData::Tag::BorderRadiusRect:return adopt_ref(*new (nothrow) StyleValue(Type::BorderRadiusRect, data));case StyleValueFFI::StyleValueData::Tag::BorderImageSlice:- return adopt_ref(*new (nothrow) BorderImageSliceStyleValue(data));+ return adopt_ref(*new (nothrow) StyleValue(Type::BorderImageSlice, data));case StyleValueFFI::StyleValueData::Tag::Calculated:return adopt_ref(*new (nothrow) CalculatedStyleValue(data));case StyleValueFFI::StyleValueData::Tag::ColorFunction:@@ -161,7 +156,7 @@ ValueComparingNonnullRefPtr<StyleValue const> StyleValue::adopt_rust_style_valuecase StyleValueFFI::StyleValueData::Tag::Content:return adopt_ref(*new (nothrow) ContentStyleValue(data));case StyleValueFFI::StyleValueData::Tag::Edge:- return adopt_ref(*new (nothrow) EdgeStyleValue(data));+ return adopt_ref(*new (nothrow) StyleValue(Type::Edge, data));case StyleValueFFI::StyleValueData::Tag::EmptyOptional:return adopt_ref(*new (nothrow) StyleValue(Type::EmptyOptional, data));case StyleValueFFI::StyleValueData::Tag::Easing:@@ -230,11 +225,11 @@ ValueComparingNonnullRefPtr<StyleValue const> StyleValue::adopt_rust_style_valuecase StyleValueFFI::StyleValueData::Tag::PendingSubstitution:return adopt_ref(*new (nothrow) PendingSubstitutionStyleValue(data));case StyleValueFFI::StyleValueData::Tag::OpenTypeTagged:- return adopt_ref(*new (nothrow) OpenTypeTaggedStyleValue(data));+ return adopt_ref(*new (nothrow) StyleValue(Type::OpenTypeTagged, data));case StyleValueFFI::StyleValueData::Tag::OverflowClipMargin:return adopt_ref(*new (nothrow) StyleValue(Type::OverflowClipMargin, data));case StyleValueFFI::StyleValueData::Tag::Position:- return adopt_ref(*new (nothrow) PositionStyleValue(data));+ return adopt_ref(*new (nothrow) StyleValue(Type::Position, data));case StyleValueFFI::StyleValueData::Tag::Ratio:return adopt_ref(*new (nothrow) RatioStyleValue(data));case StyleValueFFI::StyleValueData::Tag::Ray:@@ -242,7 +237,7 @@ ValueComparingNonnullRefPtr<StyleValue const> StyleValue::adopt_rust_style_valuecase StyleValueFFI::StyleValueData::Tag::Rect:return adopt_ref(*new (nothrow) StyleValue(Type::Rect, data));case StyleValueFFI::StyleValueData::Tag::RepeatStyle:- return adopt_ref(*new (nothrow) RepeatStyleStyleValue(data));+ return adopt_ref(*new (nothrow) StyleValue(Type::RepeatStyle, data));case StyleValueFFI::StyleValueData::Tag::RandomValueSharing:return adopt_ref(*new (nothrow) StyleValue(Type::RandomValueSharing, data));case StyleValueFFI::StyleValueData::Tag::RadialSize:diff --git a/Libraries/LibWeb/CSS/StyleValues/StyleValue.h b/Libraries/LibWeb/CSS/StyleValues/StyleValue.hindex 3e76f832631..f12317a4222 100644--- a/Libraries/LibWeb/CSS/StyleValues/StyleValue.h+++ b/Libraries/LibWeb/CSS/StyleValues/StyleValue.h@@ -42,7 +42,7 @@ WEB_API Utf16FlyString css_string_from_rust(StyleValueFFI::CssString const*);__ENUMERATE_CSS_STYLE_VALUE_TYPE(Angle, angle, AngleStyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(BackgroundSize, background_size, BackgroundSizeStyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(BasicShape, basic_shape, StyleValue) \- __ENUMERATE_CSS_STYLE_VALUE_TYPE(BorderImageSlice, border_image_slice, BorderImageSliceStyleValue) \+ __ENUMERATE_CSS_STYLE_VALUE_TYPE(BorderImageSlice, border_image_slice, StyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(BorderRadius, border_radius, StyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(BorderRadiusRect, border_radius_rect, StyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(Calculated, calculated, CalculatedStyleValue) \@@ -59,7 +59,7 @@ WEB_API Utf16FlyString css_string_from_rust(StyleValueFFI::CssString const*);__ENUMERATE_CSS_STYLE_VALUE_TYPE(CustomIdent, custom_ident, CustomIdentStyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(Display, display, DisplayStyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(Easing, easing, StyleValue) \- __ENUMERATE_CSS_STYLE_VALUE_TYPE(Edge, edge, EdgeStyleValue) \+ __ENUMERATE_CSS_STYLE_VALUE_TYPE(Edge, edge, StyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(EmptyOptional, empty_optional, StyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(Filter, filter, FilterStyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(Function, function, FunctionStyleValue) \@@ -80,18 +80,18 @@ WEB_API Utf16FlyString css_string_from_rust(StyleValueFFI::CssString const*);__ENUMERATE_CSS_STYLE_VALUE_TYPE(LinearGradient, linear_gradient, AbstractImageStyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(Number, number, NumberStyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(OpacityValue, opacity_value, OpacityValueStyleValue) \- __ENUMERATE_CSS_STYLE_VALUE_TYPE(OpenTypeTagged, open_type_tagged, OpenTypeTaggedStyleValue) \+ __ENUMERATE_CSS_STYLE_VALUE_TYPE(OpenTypeTagged, open_type_tagged, StyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(OverflowClipMargin, overflow_clip_margin, StyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(PendingSubstitution, pending_substitution, PendingSubstitutionStyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(Percentage, percentage, PercentageStyleValue) \- __ENUMERATE_CSS_STYLE_VALUE_TYPE(Position, position, PositionStyleValue) \+ __ENUMERATE_CSS_STYLE_VALUE_TYPE(Position, position, StyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(RadialGradient, radial_gradient, AbstractImageStyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(RadialSize, radial_size, StyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(RandomValueSharing, random_value_sharing, StyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(Ratio, ratio, RatioStyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(Ray, ray, StyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(Rect, rect, StyleValue) \- __ENUMERATE_CSS_STYLE_VALUE_TYPE(RepeatStyle, repeat_style, RepeatStyleStyleValue) \+ __ENUMERATE_CSS_STYLE_VALUE_TYPE(RepeatStyle, repeat_style, StyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(Resolution, resolution, ResolutionStyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(ScrollbarColor, scrollbar_color, StyleValue) \__ENUMERATE_CSS_STYLE_VALUE_TYPE(ScrollbarGutter, scrollbar_gutter, StyleValue) \diff --git a/Libraries/LibWeb/Forward.h b/Libraries/LibWeb/Forward.hindex ef63e096346..3f1156c55d6 100644--- a/Libraries/LibWeb/Forward.h+++ b/Libraries/LibWeb/Forward.h@@ -229,7 +229,6 @@ class AnglePercentage;class AngleStyleValue;class BackgroundSizeStyleValue;class BlurFilterStyleValue;-class BorderImageSliceStyleValue;class CalculatedStyleValue;class CustomPropertyData;class ColorFilterStyleValue;@@ -310,7 +309,6 @@ class DimensionStyleValue;class Display;class DisplayStyleValue;class DropShadowFilterStyleValue;-class EdgeStyleValue;class FilterStyleValue;class Flex;class FlexStyleValue;@@ -342,15 +340,12 @@ class Number;class NumberStyleValue;class NumericType;class OpacityValueStyleValue;-class OpenTypeTaggedStyleValue;class PendingSubstitutionStyleValue;class Percentage;class PercentageStyleValue;-class PositionStyleValue;class PropertyNameAndID;class Ratio;class RatioStyleValue;-class RepeatStyleStyleValue;class Resolution;class ResolutionStyleValue;class Screen;