1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:17:35 +00:00

LibWeb: Use paint tree traversal helpers in StackingContext

This commit is contained in:
Andreas Kling 2022-04-08 15:56:18 +02:00
parent dcbb83a33e
commit 5b72a9cb11
2 changed files with 21 additions and 18 deletions

View file

@ -20,6 +20,8 @@ public:
StackingContext* parent() { return m_parent; }
StackingContext const* parent() const { return m_parent; }
PaintableBox const& paintable() const { return *m_box.paint_box(); }
enum class StackingContextPaintPhase {
BackgroundAndBorders,
Floats,