mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:07:34 +00:00
LibWeb: Convert InlineFormattingContext to new pixel units
This commit is contained in:
parent
55ddfa9348
commit
056acb5ebf
3 changed files with 37 additions and 37 deletions
|
@ -29,10 +29,10 @@ public:
|
|||
|
||||
void dimension_box_on_line(Box const&, LayoutMode);
|
||||
|
||||
float leftmost_x_offset_at(float y) const;
|
||||
float available_space_for_line(float y) const;
|
||||
bool any_floats_intrude_at_y(float y) const;
|
||||
bool can_fit_new_line_at_y(float y) const;
|
||||
CSSPixels leftmost_x_offset_at(CSSPixels y) const;
|
||||
CSSPixels available_space_for_line(CSSPixels y) const;
|
||||
bool any_floats_intrude_at_y(CSSPixels y) const;
|
||||
bool can_fit_new_line_at_y(CSSPixels y) const;
|
||||
|
||||
private:
|
||||
void generate_line_boxes(LayoutMode);
|
||||
|
@ -42,8 +42,8 @@ private:
|
|||
|
||||
Optional<AvailableSpace> m_available_space;
|
||||
|
||||
float m_automatic_content_width { 0 };
|
||||
float m_automatic_content_height { 0 };
|
||||
CSSPixels m_automatic_content_width { 0 };
|
||||
CSSPixels m_automatic_content_height { 0 };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue