mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 16:58:58 +00:00
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:
parent
5534ed6715
commit
583d74e3a9
Notes:
github-actions[bot]
2025-09-11 16:49:28 +00:00
Author: https://github.com/AtkinsSJ
Commit: 583d74e3a9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6118
2 changed files with 3 additions and 1 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue