1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:07:36 +00:00

LibWeb: Rename FFC::specified_axis_size() to inner_axis_size()

"Specified" means something else in CSS, so let's not use this
overloaded word here. These helpers return the inner main/cross size of
a given box, so let's say "inner" instead.
This commit is contained in:
Andreas Kling 2023-03-08 17:36:32 +01:00
parent 0315ba5e06
commit 2a607e9ebc
2 changed files with 26 additions and 25 deletions

View file

@ -95,8 +95,8 @@ private:
bool has_definite_main_size(Box const&) const;
bool has_definite_cross_size(Box const&) const;
CSSPixels specified_main_size(Box const&) const;
CSSPixels specified_cross_size(Box const&) const;
CSSPixels inner_main_size(Box const&) const;
CSSPixels inner_cross_size(Box const&) const;
CSSPixels resolved_definite_main_size(FlexItem const&) const;
CSSPixels resolved_definite_cross_size(FlexItem const&) const;
bool has_main_min_size(Box const&) const;
@ -145,6 +145,7 @@ private:
void collect_flex_items_into_flex_lines();
void resolve_flexible_lengths();
void resolve_flexible_lengths_for_line(FlexLine&);
void resolve_cross_axis_auto_margins();