mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +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
Notes:
sideshowbarker
2024-07-17 20:26:09 +09:00
Author: https://github.com/awesomekling
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