diff --git a/Userland/Libraries/LibWeb/Painting/PaintableBox.h b/Userland/Libraries/LibWeb/Painting/PaintableBox.h index d2c1e2503b..ce52126ad9 100644 --- a/Userland/Libraries/LibWeb/Painting/PaintableBox.h +++ b/Userland/Libraries/LibWeb/Painting/PaintableBox.h @@ -30,13 +30,6 @@ public: Gfx::FloatRect scrollable_overflow_rect; Gfx::FloatPoint scroll_offset; }; - Optional m_overflow_data; - - Gfx::FloatPoint m_offset; - Gfx::FloatSize m_content_size; - - // Some boxes hang off of line box fragments. (inline-block, inline-table, replaced, etc) - Optional m_containing_line_box_fragment; Gfx::FloatRect absolute_rect() const; Gfx::FloatPoint effective_offset() const; @@ -133,6 +126,14 @@ protected: Painting::BorderRadiiData normalized_border_radii_data() const; private: + Optional m_overflow_data; + + Gfx::FloatPoint m_offset; + Gfx::FloatSize m_content_size; + + // Some boxes hang off of line box fragments. (inline-block, inline-table, replaced, etc) + Optional m_containing_line_box_fragment; + OwnPtr m_stacking_context; Optional mutable m_absolute_rect;