LibWeb: Move PercentageOr and subclasses into PercentageOr.{h,cpp}

This solves an awkward dependency cycle, where CalculatedStyleValue
needs the definition of Percentage, but including that would also pull
in PercentageOr, which in turn needs CalculatedStyleValue.

Many places that previously included StyleValue.h no longer need to. :^)
This commit is contained in:
Sam Atkins 2023-03-30 17:13:37 +01:00 committed by Andreas Kling
commit 0c14103025
Notes: sideshowbarker 2024-07-17 10:05:47 +09:00
26 changed files with 265 additions and 259 deletions

View file

@ -6,9 +6,6 @@
#include "GridTrackSize.h"
#include <AK/String.h>
#include <LibWeb/CSS/Length.h>
#include <LibWeb/CSS/Percentage.h>
#include <LibWeb/CSS/StyleValue.h>
namespace Web::CSS {