mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-17 07:50:04 +00:00
LibWeb: Expose size calculation of BlockFormattingContext
This is a hack for the FlexFormattingContext
This commit is contained in:
parent
ce7c8e215f
commit
c51dbb4372
Notes:
sideshowbarker
2024-07-18 15:41:05 +09:00
Author: https://github.com/TobyAsE
Commit: c51dbb4372
Pull-request: https://github.com/SerenityOS/serenity/pull/7669
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
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