mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
LibWeb: Add roman numerals as a list-style for ol's
This patch adds support for the identifiers upper-roman and lower-roman of the list-style property.
This commit is contained in:
parent
87033ce7d1
commit
e18e2af826
4 changed files with 17 additions and 0 deletions
|
@ -645,6 +645,10 @@ Optional<CSS::ListStyleType> StyleProperties::list_style_type() const
|
|||
return CSS::ListStyleType::UpperAlpha;
|
||||
case CSS::ValueID::UpperLatin:
|
||||
return CSS::ListStyleType::UpperLatin;
|
||||
case CSS::ValueID::UpperRoman:
|
||||
return CSS::ListStyleType::UpperRoman;
|
||||
case CSS::ValueID::LowerRoman:
|
||||
return CSS::ListStyleType::LowerRoman;
|
||||
default:
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue