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:
parent
dcbb83a33e
commit
5b72a9cb11
2 changed files with 21 additions and 18 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue