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:
parent
ca28a118ae
commit
c5b4928f4a
3 changed files with 6 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue