mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-18 15:32:22 +00:00
LibWeb: Add inline-level iterator that enumerates items for line layout
This patch adds a new mechanism that allows InlineFormattingContext to build line boxes incrementally instead of all-in-one go. Incremental build will eventually allow much better support for CSS floating objects.
This commit is contained in:
parent
9358f108c4
commit
1f603c54ff
Notes:
sideshowbarker
2024-07-17 20:26:21 +09:00
Author: https://github.com/awesomekling
Commit: 1f603c54ff
6 changed files with 248 additions and 13 deletions
|
@ -26,6 +26,7 @@ public:
|
|||
void trim_trailing_whitespace();
|
||||
|
||||
bool is_empty_or_ends_in_whitespace() const;
|
||||
bool is_empty() { return m_fragments.is_empty(); }
|
||||
bool ends_with_forced_line_break() const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue