mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Add list-style-type: upper-latin and upper-alpha support
This commit is contained in:
parent
cb34775c83
commit
889e1d3db9
Notes:
sideshowbarker
2024-07-18 18:55:02 +09:00
Author: https://github.com/TobyAsE
Commit: 889e1d3db9
Pull-request: https://github.com/SerenityOS/serenity/pull/6568
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
4 changed files with 13 additions and 0 deletions
|
@ -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 {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue