1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:18:12 +00:00

LibWeb: Make ListItemMarkerBox inherit style from ListItemBox

This commit is contained in:
Andreas Kling 2021-09-23 19:47:53 +02:00
parent ca28a118ae
commit c5b4928f4a
3 changed files with 6 additions and 4 deletions

View file

@ -11,8 +11,8 @@
namespace Web::Layout {
ListItemMarkerBox::ListItemMarkerBox(DOM::Document& document, CSS::ListStyleType style_type, size_t index)
: Box(document, nullptr, CSS::StyleProperties::create())
ListItemMarkerBox::ListItemMarkerBox(DOM::Document& document, CSS::ListStyleType style_type, size_t index, NonnullRefPtr<CSS::StyleProperties> style)
: Box(document, nullptr, move(style))
, m_list_style_type(style_type)
, m_index(index)
{