1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 02:38:11 +00:00

LibWeb: Move StackingContext from Layout/ to Painting/

The stacking context tree doesn't affect layout at all, so let's move
it into the Painting/ directory. I'm not sure yet if it's worth going
for a fullly separate painting tree. So far I'm thinking a stacking
context tree with pointers into the layout tree might be enough.
This commit is contained in:
Andreas Kling 2020-06-18 21:39:27 +02:00
parent 8c82d26668
commit 995d93c9d9
5 changed files with 3 additions and 4 deletions

View file

@ -94,7 +94,6 @@ set(SOURCES
Layout/LayoutWidget.cpp
Layout/LineBox.cpp
Layout/LineBoxFragment.cpp
Layout/StackingContext.cpp
LayoutTreeModel.cpp
Loader/FrameLoader.cpp
Loader/ImageLoader.cpp
@ -103,6 +102,7 @@ set(SOURCES
Loader/ResourceLoader.cpp
Page.cpp
PageView.cpp
Painting/StackingContext.cpp
Parser/CSSParser.cpp
Parser/Entities.cpp
Parser/HTMLDocumentParser.cpp
@ -113,7 +113,6 @@ set(SOURCES
Parser/StackOfOpenElements.cpp
StylePropertiesModel.cpp
URLEncoder.cpp
CSS/PropertyID.h
CSS/PropertyID.cpp
CSS/DefaultStyleSheetSource.cpp

View file

@ -29,7 +29,7 @@
#include <AK/OwnPtr.h>
#include <LibGfx/FloatRect.h>
#include <LibWeb/Layout/LayoutNode.h>
#include <LibWeb/Layout/StackingContext.h>
#include <LibWeb/Painting/StackingContext.h>
namespace Web {

View file

@ -29,7 +29,7 @@
#include <LibWeb/Layout/LayoutDocument.h>
#include <LibWeb/Layout/LayoutImage.h>
#include <LibWeb/Layout/LayoutWidget.h>
#include <LibWeb/Layout/StackingContext.h>
#include <LibWeb/Painting/StackingContext.h>
namespace Web {