diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/FormattingContext.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/FormattingContext.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/FormattingContext.h b/Userland/Libraries/LibWeb/Layout/FormattingContext.h index bb0d8e519a..78312ff8c7 100644 --- a/Userland/Libraries/LibWeb/Layout/FormattingContext.h +++ b/Userland/Libraries/LibWeb/Layout/FormattingContext.h @@ -70,7 +70,7 @@ public: void run_intrinsic_sizing(Box const&); - float compute_box_y_position_with_respect_to_siblings(Box const&, LayoutState::UsedValues const&); + float compute_box_y_position_with_respect_to_siblings(Box const&) const; float calculate_stretch_fit_width(Box const&, AvailableSize const&) const; @@ -78,6 +78,8 @@ public: virtual void determine_width_of_child(Box const&, AvailableSpace const&) { } virtual void determine_height_of_child(Box const&, AvailableSpace const&) { } + virtual Gfx::FloatPoint calculate_static_position(Box const&) const; + protected: FormattingContext(Type, LayoutState&, Box const&, FormattingContext* parent = nullptr); |