AK+LibWeb/CSS: Add lower-greek counter style

This commit is contained in:
dmaivel 2025-07-18 17:08:27 -04:00 committed by Sam Atkins
commit 52a23dc02e
Notes: github-actions[bot] 2025-07-21 14:19:45 +00:00
8 changed files with 27 additions and 3 deletions

View file

@ -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: