mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:47:45 +00:00
LibWeb: Add a helper for calculating the stretch-fit width of a box
This commit is contained in:
parent
fce1c673c7
commit
385657a4bf
2 changed files with 18 additions and 0 deletions
|
@ -69,6 +69,8 @@ public:
|
|||
|
||||
float compute_box_y_position_with_respect_to_siblings(Box const&, LayoutState::UsedValues const&);
|
||||
|
||||
float calculate_stretch_fit_width(Box const&, AvailableSpace const& available_width) const;
|
||||
|
||||
protected:
|
||||
FormattingContext(Type, LayoutState&, Box const&, FormattingContext* parent = nullptr);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue