1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 18:15:06 +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

@ -36,7 +36,7 @@ BoxModelMetrics::~BoxModelMetrics()
{
}
BoxModelMetrics::PixelBox BoxModelMetrics::full_margin(const LayoutNode& layout_node) const
BoxModelMetrics::PixelBox BoxModelMetrics::margin_box(const LayoutNode& layout_node) const
{
return {
m_margin.top.to_px(layout_node) + m_border.top.to_px(layout_node) + m_padding.top.to_px(layout_node),