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

@ -8,6 +8,7 @@
#include <LibWeb/Bindings/Intrinsics.h>
#include <LibWeb/Bindings/SVGCircleElementPrototype.h>
#include <LibWeb/CSS/Parser/Parser.h>
#include <LibWeb/CSS/PropertyID.h>
#include <LibWeb/Layout/Node.h>
#include <LibWeb/SVG/AttributeNames.h>
#include <LibWeb/SVG/AttributeParser.h>

View file

@ -9,6 +9,7 @@
#include <LibGfx/ImmutableBitmap.h>
#include <LibWeb/Bindings/SVGFilterElementPrototype.h>
#include <LibWeb/CSS/Parser/Parser.h>
#include <LibWeb/CSS/PropertyID.h>
#include <LibWeb/DOM/Text.h>
#include <LibWeb/Layout/Node.h>
#include <LibWeb/Painting/PaintableBox.h>

View file

@ -6,6 +6,7 @@
*/
#include "SVGFilterPrimitiveStandardAttributes.h"
#include <LibWeb/CSS/PropertyID.h>
#include <LibWeb/SVG/SVGFEBlendElement.h>
#include <LibWeb/SVG/SVGFEColorMatrixElement.h>
#include <LibWeb/SVG/SVGFECompositeElement.h>

View file

@ -7,6 +7,7 @@
#include <LibWeb/Bindings/SVGSVGElementPrototype.h>
#include <LibWeb/CSS/Parser/Parser.h>
#include <LibWeb/CSS/PropertyID.h>
#include <LibWeb/CSS/StyleComputer.h>
#include <LibWeb/CSS/StyleValues/LengthStyleValue.h>
#include <LibWeb/CSS/StyleValues/PercentageStyleValue.h>