mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:57:42 +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
|
@ -45,7 +45,7 @@ void ListItemBox::layout_marker()
|
|||
m_marker = nullptr;
|
||||
}
|
||||
|
||||
if (specified_style().string_or_fallback(CSS::PropertyID::ListStyleType, "disc") == "none")
|
||||
if (style().list_style_type() == CSS::ListStyleType::None)
|
||||
return;
|
||||
|
||||
if (!m_marker) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue