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:
parent
ce7c8e215f
commit
c51dbb4372
2 changed files with 20 additions and 11 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue