From 583d74e3a99846a220b803c71c860832070d9aa3 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Tue, 9 Sep 2025 13:37:30 +0100 Subject: [PATCH] LibWeb/DOM: Reduce AbstractElement.h's includes This doesn't need all of Selector.h and its various includes, it just needs the PseudoElement enum. StringStyleValue.h was transitively including ComponentValue.h through this, so it now includes it directly. --- Libraries/LibWeb/CSS/StyleValues/StringStyleValue.h | 1 + Libraries/LibWeb/DOM/AbstractElement.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Libraries/LibWeb/CSS/StyleValues/StringStyleValue.h b/Libraries/LibWeb/CSS/StyleValues/StringStyleValue.h index 29413aa4f5d..0dc6f5b0375 100644 --- a/Libraries/LibWeb/CSS/StyleValues/StringStyleValue.h +++ b/Libraries/LibWeb/CSS/StyleValues/StringStyleValue.h @@ -7,6 +7,7 @@ #pragma once #include +#include #include #include diff --git a/Libraries/LibWeb/DOM/AbstractElement.h b/Libraries/LibWeb/DOM/AbstractElement.h index 5cc885ff50b..eb9d790e985 100644 --- a/Libraries/LibWeb/DOM/AbstractElement.h +++ b/Libraries/LibWeb/DOM/AbstractElement.h @@ -7,7 +7,8 @@ #pragma once #include -#include +#include +#include #include namespace Web::DOM {