mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
LibWeb: Use IdentifierStyleValue for CSS 'list-style-type'
This commit is contained in:
parent
c630ae517e
commit
9c76c4f0cf
7 changed files with 52 additions and 1 deletions
|
@ -247,6 +247,9 @@ void NodeWithStyle::apply_style(const CSS::StyleProperties& specified_style)
|
|||
if (text_transform.has_value())
|
||||
style.set_text_transform(text_transform.value());
|
||||
|
||||
if (auto list_style_type = specified_style.list_style_type(); list_style_type.has_value())
|
||||
style.set_list_style_type(list_style_type.value());
|
||||
|
||||
style.set_color(specified_style.color_or_fallback(CSS::PropertyID::Color, document(), Color::Transparent));
|
||||
style.set_background_color(specified_style.color_or_fallback(CSS::PropertyID::BackgroundColor, document(), Color::Transparent));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue