1
Fork 0
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:
Timothy Flynn 2021-10-29 09:00:30 -04:00 committed by Andreas Kling
parent eb0fb38cac
commit ef62118c8b
5 changed files with 37 additions and 7 deletions

View file

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