mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
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:
parent
16e3a86393
commit
0c14103025
Notes:
sideshowbarker
2024-07-17 10:05:47 +09:00
Author: https://github.com/AtkinsSJ
Commit: 0c14103025
Pull-request: https://github.com/SerenityOS/serenity/pull/18104
26 changed files with 265 additions and 259 deletions
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue