1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 01:17:36 +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:
Andreas Kling 2020-06-12 13:36:39 +02:00
parent 260427f0ad
commit 9cbef10bdd
4 changed files with 6 additions and 6 deletions

View file

@ -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 };
}