1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 03:18:11 +00:00

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
parent ce7c8e215f
commit c51dbb4372
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: