mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
LibWeb: Move get_pixel_{width,height} helpers into FFC class
This commit is contained in:
parent
60ac258a48
commit
a4d7dc40bf
2 changed files with 21 additions and 16 deletions
|
@ -106,6 +106,9 @@ private:
|
|||
Optional<float> transferred_size_suggestion(FlexItem const&) const;
|
||||
float content_size_suggestion(FlexItem const&) const;
|
||||
|
||||
float get_pixel_width(Box const& box, Optional<CSS::LengthPercentage> const& length_percentage) const;
|
||||
float get_pixel_height(Box const& box, Optional<CSS::LengthPercentage> const& length_percentage) const;
|
||||
|
||||
bool flex_item_is_stretched(FlexItem const&) const;
|
||||
|
||||
void set_main_size(Box const&, float size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue