mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:07:44 +00:00
LibWeb: Render any specified list-style-image for list items
This commit is contained in:
parent
eb0fb38cac
commit
ef62118c8b
5 changed files with 37 additions and 7 deletions
|
@ -40,7 +40,9 @@ void ListItemBox::layout_marker()
|
|||
}
|
||||
|
||||
m_marker->set_offset(-(m_marker->width() + 4), 0);
|
||||
m_marker->set_height(line_height());
|
||||
|
||||
if (m_marker->height() > height())
|
||||
set_height(m_marker->height());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue