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:
parent
260427f0ad
commit
9cbef10bdd
4 changed files with 6 additions and 6 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue