LibWeb: Use paint tree traversal helpers in StackingContext

This commit is contained in:
Andreas Kling 2022-04-08 15:56:18 +02:00
commit 5b72a9cb11
Notes: sideshowbarker 2024-07-17 14:15:50 +09:00
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,