diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS')
9 files changed, 10 insertions, 21 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/ComputedValues.h b/Userland/Libraries/LibWeb/CSS/ComputedValues.h index f503d380cd..84cf817e04 100644 --- a/Userland/Libraries/LibWeb/CSS/ComputedValues.h +++ b/Userland/Libraries/LibWeb/CSS/ComputedValues.h @@ -9,11 +9,15 @@ #include <AK/Optional.h> #include <LibWeb/CSS/BackdropFilter.h> #include <LibWeb/CSS/Clip.h> +#include <LibWeb/CSS/Display.h> +#include <LibWeb/CSS/GridTrackPlacement.h> +#include <LibWeb/CSS/GridTrackSize.h> #include <LibWeb/CSS/LengthBox.h> #include <LibWeb/CSS/Size.h> #include <LibWeb/CSS/StyleValue.h> #include <LibWeb/CSS/StyleValues/AbstractImageStyleValue.h> #include <LibWeb/CSS/StyleValues/ShadowStyleValue.h> +#include <LibWeb/CSS/TransformFunctions.h> namespace Web::CSS { diff --git a/Userland/Libraries/LibWeb/CSS/Parser/Parser.h b/Userland/Libraries/LibWeb/CSS/Parser/Parser.h index 06da7844c1..10c8695cea 100644 --- a/Userland/Libraries/LibWeb/CSS/Parser/Parser.h +++ b/Userland/Libraries/LibWeb/CSS/Parser/Parser.h @@ -22,6 +22,7 @@ #include <LibWeb/CSS/Parser/Rule.h> #include <LibWeb/CSS/Parser/TokenStream.h> #include <LibWeb/CSS/Parser/Tokenizer.h> +#include <LibWeb/CSS/PropertyID.h> #include <LibWeb/CSS/Ratio.h> #include <LibWeb/CSS/Selector.h> #include <LibWeb/CSS/StyleValue.h> diff --git a/Userland/Libraries/LibWeb/CSS/StyleProperties.h b/Userland/Libraries/LibWeb/CSS/StyleProperties.h index 6e80c53406..8c777b1121 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleProperties.h +++ b/Userland/Libraries/LibWeb/CSS/StyleProperties.h @@ -12,6 +12,7 @@ #include <LibGfx/Forward.h> #include <LibWeb/CSS/ComputedValues.h> #include <LibWeb/CSS/LengthBox.h> +#include <LibWeb/CSS/PropertyID.h> #include <LibWeb/CSS/StyleValue.h> namespace Web::CSS { diff --git a/Userland/Libraries/LibWeb/CSS/StyleValue.cpp b/Userland/Libraries/LibWeb/CSS/StyleValue.cpp index 37957c93ac..6578a2518c 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleValue.cpp +++ b/Userland/Libraries/LibWeb/CSS/StyleValue.cpp @@ -7,9 +7,6 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include <AK/ByteBuffer.h> -#include <LibGfx/Palette.h> -#include <LibWeb/CSS/Serialize.h> #include <LibWeb/CSS/StyleValue.h> #include <LibWeb/CSS/StyleValues/AbstractImageStyleValue.h> #include <LibWeb/CSS/StyleValues/AngleStyleValue.h> @@ -54,13 +51,6 @@ #include <LibWeb/CSS/StyleValues/TransformationStyleValue.h> #include <LibWeb/CSS/StyleValues/UnresolvedStyleValue.h> #include <LibWeb/CSS/StyleValues/UnsetStyleValue.h> -#include <LibWeb/DOM/Document.h> -#include <LibWeb/HTML/BrowsingContext.h> -#include <LibWeb/Loader/LoadRequest.h> -#include <LibWeb/Loader/ResourceLoader.h> -#include <LibWeb/Page/Page.h> -#include <LibWeb/Painting/GradientPainting.h> -#include <LibWeb/Platform/Timer.h> namespace Web::CSS { diff --git a/Userland/Libraries/LibWeb/CSS/StyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValue.h index c04fcb9a66..181c3cc777 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleValue.h +++ b/Userland/Libraries/LibWeb/CSS/StyleValue.h @@ -11,7 +11,6 @@ #include <AK/Concepts.h> #include <AK/DeprecatedString.h> -#include <AK/Function.h> #include <AK/GenericShorthands.h> #include <AK/NonnullOwnPtr.h> #include <AK/RefCounted.h> @@ -22,27 +21,17 @@ #include <AK/Variant.h> #include <AK/Vector.h> #include <AK/WeakPtr.h> -#include <LibGfx/Bitmap.h> -#include <LibGfx/Color.h> #include <LibGfx/Painter.h> #include <LibWeb/CSS/Angle.h> -#include <LibWeb/CSS/Display.h> #include <LibWeb/CSS/Enums.h> #include <LibWeb/CSS/Frequency.h> -#include <LibWeb/CSS/GridTrackPlacement.h> -#include <LibWeb/CSS/GridTrackSize.h> #include <LibWeb/CSS/Length.h> #include <LibWeb/CSS/Number.h> -#include <LibWeb/CSS/Parser/ComponentValue.h> #include <LibWeb/CSS/Percentage.h> -#include <LibWeb/CSS/PropertyID.h> #include <LibWeb/CSS/Resolution.h> #include <LibWeb/CSS/Time.h> -#include <LibWeb/CSS/TransformFunctions.h> #include <LibWeb/CSS/ValueID.h> #include <LibWeb/Forward.h> -#include <LibWeb/Loader/ImageResource.h> -#include <LibWeb/Painting/GradientPainting.h> namespace Web::CSS { diff --git a/Userland/Libraries/LibWeb/CSS/StyleValues/ConicGradientStyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValues/ConicGradientStyleValue.h index fbdaf4b033..4cb277afc4 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleValues/ConicGradientStyleValue.h +++ b/Userland/Libraries/LibWeb/CSS/StyleValues/ConicGradientStyleValue.h @@ -10,6 +10,7 @@ #pragma once #include <LibWeb/CSS/StyleValues/AbstractImageStyleValue.h> +#include <LibWeb/Painting/GradientPainting.h> namespace Web::CSS { diff --git a/Userland/Libraries/LibWeb/CSS/StyleValues/ImageStyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValues/ImageStyleValue.h index 131192f3d8..b51d36d387 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleValues/ImageStyleValue.h +++ b/Userland/Libraries/LibWeb/CSS/StyleValues/ImageStyleValue.h @@ -12,6 +12,7 @@ #include <AK/URL.h> #include <LibWeb/CSS/Enums.h> #include <LibWeb/CSS/StyleValues/AbstractImageStyleValue.h> +#include <LibWeb/Loader/ImageResource.h> namespace Web::CSS { diff --git a/Userland/Libraries/LibWeb/CSS/StyleValues/LinearGradientStyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValues/LinearGradientStyleValue.h index 41eb400443..9c5b08656a 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleValues/LinearGradientStyleValue.h +++ b/Userland/Libraries/LibWeb/CSS/StyleValues/LinearGradientStyleValue.h @@ -11,6 +11,7 @@ #include <AK/Vector.h> #include <LibWeb/CSS/StyleValues/AbstractImageStyleValue.h> +#include <LibWeb/Painting/GradientPainting.h> namespace Web::CSS { diff --git a/Userland/Libraries/LibWeb/CSS/StyleValues/RadialGradientStyleValue.h b/Userland/Libraries/LibWeb/CSS/StyleValues/RadialGradientStyleValue.h index 179e6004fa..e28bf66721 100644 --- a/Userland/Libraries/LibWeb/CSS/StyleValues/RadialGradientStyleValue.h +++ b/Userland/Libraries/LibWeb/CSS/StyleValues/RadialGradientStyleValue.h @@ -12,6 +12,7 @@ #include <AK/Vector.h> #include <LibWeb/CSS/Enums.h> #include <LibWeb/CSS/StyleValues/AbstractImageStyleValue.h> +#include <LibWeb/Painting/GradientPainting.h> namespace Web::CSS { |