1
Fork 0
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:
Andreas Kling 2020-12-15 16:50:39 +01:00
parent c630ae517e
commit 9c76c4f0cf
7 changed files with 52 additions and 1 deletions

View file

@ -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) {