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

LibWeb: Layout table-cell contents once again once final width is known

This makes centered and right-aligned table-cell contents position
itself correctly.
This commit is contained in:
Andreas Kling 2020-06-28 20:09:41 +02:00
parent 4924b86b2a
commit dcc25f7d7a
2 changed files with 19 additions and 9 deletions

View file

@ -65,6 +65,8 @@ public:
virtual void split_into_lines(LayoutBlock& container, LayoutMode) override;
void layout_inside(LayoutMode);
protected:
void compute_width();
void compute_height();
@ -89,7 +91,6 @@ private:
NonnullRefPtr<StyleProperties> style_for_anonymous_block() const;
void layout_inside(LayoutMode);
void layout_inline_children(LayoutMode);
void layout_contained_boxes(LayoutMode);