mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 10:48:53 +00:00
LibWeb: Remove awkward BFC::compute_theoretical_height() function
This was used by FFC to estimate the height of flex items after performing layout inside them. Now that we have automatic_content_height(), we no longer need this awkward API and we can fold it into BFC's own height calculation.
This commit is contained in:
parent
e181269da7
commit
f0ac687823
Notes:
sideshowbarker
2024-07-17 06:40:41 +09:00
Author: https://github.com/awesomekling
Commit: f0ac687823
2 changed files with 4 additions and 8 deletions
|
@ -30,7 +30,6 @@ public:
|
|||
auto const& left_side_floats() const { return m_left_floats; }
|
||||
auto const& right_side_floats() const { return m_right_floats; }
|
||||
|
||||
static float compute_theoretical_height(LayoutState const&, Box const&);
|
||||
void compute_width(Box const&, LayoutMode = LayoutMode::Normal);
|
||||
|
||||
// https://www.w3.org/TR/css-display/#block-formatting-context-root
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue