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.
This commit is contained in:
Sam Atkins 2025-09-09 13:37:30 +01:00 committed by Alexander Kalenik
commit 583d74e3a9
Notes: github-actions[bot] 2025-09-11 16:49:28 +00:00
2 changed files with 3 additions and 1 deletions

View file

@ -7,6 +7,7 @@
#pragma once #pragma once
#include <AK/FlyString.h> #include <AK/FlyString.h>
#include <LibWeb/CSS/Parser/ComponentValue.h>
#include <LibWeb/CSS/Serialize.h> #include <LibWeb/CSS/Serialize.h>
#include <LibWeb/CSS/StyleValues/StyleValue.h> #include <LibWeb/CSS/StyleValues/StyleValue.h>

View file

@ -7,7 +7,8 @@
#pragma once #pragma once
#include <LibGC/Cell.h> #include <LibGC/Cell.h>
#include <LibWeb/CSS/Selector.h> #include <LibWeb/CSS/PseudoElement.h>
#include <LibWeb/CSS/StyleProperty.h>
#include <LibWeb/Forward.h> #include <LibWeb/Forward.h>
namespace Web::DOM { namespace Web::DOM {