summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/Size.h
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2023-03-30 17:13:37 +0100
committerAndreas Kling <kling@serenityos.org>2023-03-30 21:29:50 +0200
commit0c14103025737bd5e033c4198882f5bab13732e3 (patch)
treeafa9db12eb8b4c26fd072da23592590806a321e6 /Userland/Libraries/LibWeb/CSS/Size.h
parent16e3a863936baeafe62d8c89992d826e43f0da07 (diff)
downloadserenity-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.h2
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 {