diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2023-03-30 17:13:37 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-03-30 21:29:50 +0200 |
commit | 0c14103025737bd5e033c4198882f5bab13732e3 (patch) | |
tree | afa9db12eb8b4c26fd072da23592590806a321e6 /Userland/Libraries/LibWeb/CSS/Size.h | |
parent | 16e3a863936baeafe62d8c89992d826e43f0da07 (diff) | |
download | serenity-0c14103025737bd5e033c4198882f5bab13732e3.zip |
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. :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Size.h')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/Size.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Size.h b/Userland/Libraries/LibWeb/CSS/Size.h index 8e2a8ac952..77aaf2da59 100644 --- a/Userland/Libraries/LibWeb/CSS/Size.h +++ b/Userland/Libraries/LibWeb/CSS/Size.h @@ -8,7 +8,7 @@ #pragma once #include <LibWeb/CSS/Length.h> -#include <LibWeb/CSS/Percentage.h> +#include <LibWeb/CSS/PercentageOr.h> namespace Web::CSS { |