mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
LibWeb: Rename BoxModelMetrics::full_margin() => margin_box()
This matches the other member names (padding_box() and border_box().)
This commit is contained in:
parent
260427f0ad
commit
9cbef10bdd
4 changed files with 6 additions and 6 deletions
|
@ -146,7 +146,7 @@ Gfx::FloatPoint LayoutReplaced::calculate_position()
|
|||
+ box_model().padding().left.to_px(*this)
|
||||
+ box_model().offset().left.to_px(*this);
|
||||
|
||||
float y = box_model().full_margin(*this).top + box_model().offset().top.to_px(*this);
|
||||
float y = box_model().margin_box(*this).top + box_model().offset().top.to_px(*this);
|
||||
|
||||
return { x, y };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue