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

LibWeb: Floating boxes with width:auto should be shrink-to-fit

This commit is contained in:
Andreas Kling 2020-12-06 01:08:14 +01:00
parent 484134d818
commit 26a9ab7cd5
2 changed files with 46 additions and 0 deletions

View file

@ -52,6 +52,7 @@ private:
virtual bool is_block_formatting_context() const final { return true; }
void compute_width_for_absolutely_positioned_block(Box&);
void compute_width_for_floating_box(Box&);
void layout_initial_containing_block(LayoutMode);
void layout_block_level_children(LayoutMode);