mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +00:00
LibWeb: Support list-style-position
This moves the ::marker inside of <summary> actually inside. :^)
This commit is contained in:
parent
ee7282cbe4
commit
293ece2292
10 changed files with 34 additions and 8 deletions
|
@ -10,9 +10,10 @@
|
|||
|
||||
namespace Web::Layout {
|
||||
|
||||
ListItemMarkerBox::ListItemMarkerBox(DOM::Document& document, CSS::ListStyleType style_type, size_t index, NonnullRefPtr<CSS::StyleProperties> style)
|
||||
ListItemMarkerBox::ListItemMarkerBox(DOM::Document& document, CSS::ListStyleType style_type, CSS::ListStylePosition style_position, size_t index, NonnullRefPtr<CSS::StyleProperties> style)
|
||||
: Box(document, nullptr, move(style))
|
||||
, m_list_style_type(style_type)
|
||||
, m_list_style_position(style_position)
|
||||
, m_index(index)
|
||||
{
|
||||
switch (m_list_style_type) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue