1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:37:36 +00:00

LibWeb: Add list-style-type: upper-latin and upper-alpha support

This commit is contained in:
Tobias Christiansen 2021-04-22 23:52:15 +02:00 committed by Andreas Kling
parent cb34775c83
commit 889e1d3db9
4 changed files with 13 additions and 0 deletions

View file

@ -160,6 +160,8 @@
"text",
"underline",
"uppercase",
"upper-alpha",
"upper-latin",
"visible",
"vertical-text",
"wait",

View file

@ -582,6 +582,10 @@ Optional<CSS::ListStyleType> StyleProperties::list_style_type() const
return CSS::ListStyleType::LowerAlpha;
case CSS::ValueID::LowerLatin:
return CSS::ListStyleType::LowerLatin;
case CSS::ValueID::UpperAlpha:
return CSS::ListStyleType::UpperAlpha;
case CSS::ValueID::UpperLatin:
return CSS::ListStyleType::UpperLatin;
default:
return {};
}

View file

@ -162,6 +162,8 @@ enum class ListStyleType {
DecimalLeadingZero,
LowerAlpha,
LowerLatin,
UpperAlpha,
UpperLatin,
};
enum class Overflow : u8 {