CSS list-style-type Value Coverage

1 — Symbolic markers (disclosure-open/-closed) and a literal <string> marker

disclosure-open/disclosure-closed are fixed, uncounted glyphs (every item gets the same marker); a <string> value is literal marker text with no automatic suffix.

  • Item one
  • Item two
  • Item three
disclosure-open
list-style-type: disclosure-open;
  • Item one
  • Item two
  • Item three
disclosure-closed
list-style-type: disclosure-closed;
  • Item one
  • Item two
  • Item three
literal <string>
list-style-type: '→ ';
  • Item one
  • Item two
  • Item three
none (baseline)
list-style-type: none;

2 — Fixed styles, past their range

cjk-earthly-branch/cjk-heavenly-stem have a finite 12/10-symbol range; a counter value beyond it falls back to plain decimal, per CSS Counter Styles Level 3.

  • Item one
  • Item two
  • Item three
cjk-earthly-branch (1-12)
list-style-type: cjk-earthly-branch;
  • Item one
  • Item two
  • Item three
cjk-heavenly-stem (1-10)
list-style-type: cjk-heavenly-stem;
  • Item one
  • Item two
  • Item three
cjk-decimal
list-style-type: cjk-decimal;
  • Item one
  • Item two
  • Item three
ethiopic-numeric
list-style-type: ethiopic-numeric;

3 — Hebrew: additive numbering, including the 15/16 override

15 and 16 are manually overridden to טו/טז instead of the naive combination, which closely resembles the Tetragrammaton - list starts at item 14 to show the transition, and now correctly reaches four digits (1000+) rather than silently dropping the thousands place.

  1. Item
  2. Item
  3. Item
  4. Item
  5. Item
  6. Item
list-style-type: hebrew; <ol start="14">

4 — Additional numeric/alphabetic/fixed styles now supported

Every value below is verified by the automated test suite (CommonUtilsTests/ListItemCounterIntegrationTests) against the CSS Counter Styles Level 3 spec text. Rendering the actual script glyph (rather than this page's fallback font's notdef box) needs a font covering that script registered via PdfGenerator.AddFontFromStream - see docs/usage-examples.md#fonts - the same requirement any HTML renderer has for non-Latin text.

  • Item one
  • Item two
  • Item three
devanagari
list-style-type: devanagari;
  • Item one
  • Item two
  • Item three
thai
list-style-type: thai;
  • Item one
  • Item two
  • Item three
arabic-indic
list-style-type: arabic-indic;
  • Item one
  • Item two
  • Item three
bengali
list-style-type: bengali;
  • Item one
  • Item two
  • Item three
lower-armenian
list-style-type: lower-armenian;
  • Item one
  • Item two
  • Item three
upper-armenian
list-style-type: upper-armenian;
  • Item one
  • Item two
  • Item three
hiragana-iroha
list-style-type: hiragana-iroha;
  • Item one
  • Item two
  • Item three
katakana-iroha
list-style-type: katakana-iroha;