1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 00:27:35 +00:00

LibWeb: Dimension inline-block and replaced boxes during splitting

Don't wait until fragment layout to compute width/height of boxes on
the line, just do it while we're splitting into lines.
This commit is contained in:
Andreas Kling 2020-12-15 18:40:08 +01:00
parent 4a9dcd974a
commit 23f70535e2
4 changed files with 6 additions and 10 deletions

View file

@ -44,7 +44,6 @@ public:
float available_width_at_line(size_t line_index) const;
private:
void dimension_box_on_line(Box&, LayoutMode);
};