mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:07:46 +00:00
LibWeb: Move available_space_for_line() into InlineFormattingContext
This commit is contained in:
parent
1f603c54ff
commit
39b2046c42
2 changed files with 15 additions and 13 deletions
|
@ -28,6 +28,13 @@ public:
|
|||
void dimension_box_on_line(Box&, LayoutMode);
|
||||
|
||||
private:
|
||||
struct AvailableSpaceForLineInfo {
|
||||
float left { 0 };
|
||||
float right { 0 };
|
||||
};
|
||||
|
||||
AvailableSpaceForLineInfo available_space_for_line(size_t line_index) const;
|
||||
|
||||
void generate_line_boxes(LayoutMode);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue