LibWeb: Include PropertyID.h in fewer header files

This reduces the size of the recompile when PropertyID.h is modified
from ~1500 to ~125
This commit is contained in:
Callum Law 2025-10-25 02:11:58 +13:00 committed by Sam Atkins
parent 59a1184469
commit 5381146e85
Notes: github-actions[bot] 2025-10-27 14:52:17 +00:00
44 changed files with 67 additions and 19 deletions

View file

@ -10,6 +10,7 @@
#pragma once
#include <AK/Function.h>
#include <LibWeb/CSS/AcceptedTypeRange.h>
#include <LibWeb/CSS/Angle.h>
#include <LibWeb/CSS/Enums.h>
#include <LibWeb/CSS/Flex.h>

View file

@ -7,6 +7,7 @@
#include "IntegerStyleValue.h"
#include <LibWeb/CSS/CSSUnitValue.h>
#include <LibWeb/CSS/Parser/ComponentValue.h>
#include <LibWeb/CSS/PropertyID.h>
namespace Web::CSS {

View file

@ -10,7 +10,9 @@
#include "NumberStyleValue.h"
#include <LibWeb/CSS/CSSUnitValue.h>
#include <LibWeb/CSS/Parser/ComponentValue.h>
#include <LibWeb/CSS/PropertyID.h>
#include <LibWeb/CSS/Serialize.h>
#include <LibWeb/CSS/ValueType.h>
namespace Web::CSS {

View file

@ -20,6 +20,7 @@
#include <LibWeb/CSS/CSSTransformComponent.h>
#include <LibWeb/CSS/CSSTranslate.h>
#include <LibWeb/CSS/CSSUnitValue.h>
#include <LibWeb/CSS/PropertyID.h>
#include <LibWeb/CSS/Serialize.h>
#include <LibWeb/CSS/StyleValues/AngleStyleValue.h>
#include <LibWeb/CSS/StyleValues/LengthStyleValue.h>