mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
LibWeb: Add Layout::LineBuilder class for incremental line box layout
This class will be used to place items on lines incrementally instead of the current two-phase approach.
This commit is contained in:
parent
ae301d2b02
commit
00bde9ca51
4 changed files with 166 additions and 0 deletions
|
@ -32,6 +32,8 @@ public:
|
|||
private:
|
||||
friend class BlockContainer;
|
||||
friend class InlineFormattingContext;
|
||||
friend class LineBuilder;
|
||||
|
||||
NonnullOwnPtrVector<LineBoxFragment> m_fragments;
|
||||
float m_width { 0 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue