diff options
author | Andreas Kling <kling@serenityos.org> | 2020-06-09 21:08:15 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-09 21:53:16 +0200 |
commit | 28dcef47572f656ec81ff79a48c411c807e4086f (patch) | |
tree | 67bd255fce774218a2d1805efa53ad2e0e853226 /Libraries/LibWeb/Layout/LayoutBlock.h | |
parent | b4d4d6b32a0e4d0326b6679d32cd9aa9a663f394 (diff) | |
download | serenity-28dcef47572f656ec81ff79a48c411c807e4086f.zip |
LibWeb: Add LayoutTableRowGroup to implement display: table-row-group
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutBlock.h')
-rw-r--r-- | Libraries/LibWeb/Layout/LayoutBlock.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutBlock.h b/Libraries/LibWeb/Layout/LayoutBlock.h index 597a3ac9b2..0a1d770c88 100644 --- a/Libraries/LibWeb/Layout/LayoutBlock.h +++ b/Libraries/LibWeb/Layout/LayoutBlock.h @@ -65,6 +65,10 @@ public: virtual void split_into_lines(LayoutBlock& container, LayoutMode) override; +protected: + void compute_width(); + void compute_position(); + void compute_height(); private: virtual bool is_block() const override { return true; } @@ -75,10 +79,6 @@ private: void layout_inline_children(LayoutMode); void layout_block_children(LayoutMode); - void compute_width(); - void compute_position(); - void compute_height(); - Vector<LineBox> m_line_boxes; }; |