mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:57:44 +00:00
LibWeb: Add list-style-type: disclosure-{closed,open}
These markers are rendered as equilateral triangles pointing right and down respectively. As we currently don't implement writing-mode the closed marker does not respect it.
This commit is contained in:
parent
ad899b179f
commit
5e3e9b2f61
4 changed files with 41 additions and 0 deletions
|
@ -19,6 +19,8 @@ ListItemMarkerBox::ListItemMarkerBox(DOM::Document& document, CSS::ListStyleType
|
|||
case CSS::ListStyleType::Square:
|
||||
case CSS::ListStyleType::Circle:
|
||||
case CSS::ListStyleType::Disc:
|
||||
case CSS::ListStyleType::DisclosureClosed:
|
||||
case CSS::ListStyleType::DisclosureOpen:
|
||||
break;
|
||||
case CSS::ListStyleType::Decimal:
|
||||
m_text = DeprecatedString::formatted("{}.", m_index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue