mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb: Add list-style-type: lower-alpha and lower-latin support
They achieve the same, a list which markers are lowercase (latin) characters.
This commit is contained in:
parent
7dd0fb0086
commit
cb34775c83
Notes:
sideshowbarker
2024-07-18 18:55:06 +09:00
Author: https://github.com/TobyAsE
Commit: cb34775c83
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 15 additions and 0 deletions
|
@ -578,6 +578,10 @@ Optional<CSS::ListStyleType> StyleProperties::list_style_type() const
|
|||
return CSS::ListStyleType::Decimal;
|
||||
case CSS::ValueID::DecimalLeadingZero:
|
||||
return CSS::ListStyleType::DecimalLeadingZero;
|
||||
case CSS::ValueID::LowerAlpha:
|
||||
return CSS::ListStyleType::LowerAlpha;
|
||||
case CSS::ValueID::LowerLatin:
|
||||
return CSS::ListStyleType::LowerLatin;
|
||||
default:
|
||||
return {};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue