mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:47:45 +00:00
LibWeb: Rename Layout::Box::size() to content_size()
This property represents the CSS content size, so let's reduce ambiguity by using the spec terminology. We also bring a bunch of related functions along for the ride.
This commit is contained in:
parent
dbe5af3c6f
commit
0608de8c12
17 changed files with 140 additions and 140 deletions
|
@ -39,10 +39,10 @@ void ListItemBox::layout_marker()
|
|||
append_child(*m_marker);
|
||||
}
|
||||
|
||||
m_marker->set_offset(-(m_marker->width() + 4), 0);
|
||||
m_marker->set_offset(-(m_marker->content_width() + 4), 0);
|
||||
|
||||
if (m_marker->height() > height())
|
||||
set_height(m_marker->height());
|
||||
if (m_marker->content_height() > content_height())
|
||||
set_content_height(m_marker->content_height());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue