mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
AK+LibWeb/CSS: Add lower-greek
counter style
This commit is contained in:
parent
938f27bbe3
commit
52a23dc02e
Notes:
github-actions[bot]
2025-07-21 14:19:45 +00:00
Author: https://github.com/dmaivel 🔰
Commit: 52a23dc02e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5514
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/trflynn89
8 changed files with 27 additions and 3 deletions
|
@ -79,6 +79,8 @@ static String generate_a_counter_representation(CSSStyleValue const& counter_sty
|
|||
case CounterStyleNameKeyword::UpperAlpha:
|
||||
case CounterStyleNameKeyword::UpperLatin:
|
||||
return String::bijective_base_from(value - 1, String::Case::Upper);
|
||||
case CounterStyleNameKeyword::LowerGreek:
|
||||
return String::greek_letter_from(value);
|
||||
case CounterStyleNameKeyword::LowerRoman:
|
||||
return String::roman_number_from(value, String::Case::Lower);
|
||||
case CounterStyleNameKeyword::UpperRoman:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue