References

CSS 2.1 Generated content, automatic numbering, and lists
(stable, good implementations).

CSS3 Generated and Replaced Content Module
(draft, basically abandoned).

Test cases

  1. Arbitrary list counters with HTML attributes
    (Not using CSS generated content. But user agents may use CSS behind-the-scenes to implement, or develop internal features that could be made available to CSS authors.)
  2. Custom list counter styles with CSS
    (Works nicely with CSS 2.1 counters. Automatic reverse counting not possible.)

Examples

  • ReMarkdown is a stylesheet using a lot of generated content for decoration.