mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +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
|
@ -572,6 +572,9 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& computed_style)
|
|||
const_cast<CSS::AbstractImageStyleValue&>(*m_list_style_image).load_any_resources(document());
|
||||
}
|
||||
|
||||
if (auto list_style_position = computed_style.list_style_position(); list_style_position.has_value())
|
||||
computed_values.set_list_style_position(list_style_position.value());
|
||||
|
||||
// FIXME: The default text decoration color value is `currentcolor`, but since we can't resolve that easily,
|
||||
// we just manually grab the value from `color`. This makes it dependent on `color` being
|
||||
// specified first, so it's far from ideal.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue