LibWeb: Expose size calculation of BlockFormattingContext

This is a hack for the FlexFormattingContext
This commit is contained in:
Tobias Christiansen 2021-05-30 21:57:13 +02:00 committed by Ali Mohammad Pur
commit c51dbb4372
Notes: sideshowbarker 2024-07-18 15:41:05 +09:00
2 changed files with 20 additions and 11 deletions

View file

@ -24,9 +24,11 @@ public:
const Vector<Box*>& left_floating_boxes() const { return m_left_floating_boxes; }
const Vector<Box*>& right_floating_boxes() const { return m_right_floating_boxes; }
protected:
static float compute_theoretical_height(const Box&);
void compute_width(Box&);
void compute_height(Box&);
protected:
static void compute_height(Box&);
void compute_position(Box&);
private: