mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-16 22:42:18 +00:00
LibWeb: Use paint tree traversal helpers in StackingContext
This commit is contained in:
parent
dcbb83a33e
commit
5b72a9cb11
Notes:
sideshowbarker
2024-07-17 14:15:50 +09:00
Author: https://github.com/awesomekling
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