4.3.5 Counters

Chapter 4 - Syntax and basic data types - 4.3.5 Counters

Go to the relevant page of the specification.

content-counter-000
content: counter(c)
content-counter-001
content: counter(c, none)
content-counter-002
content: counter(c, disc)
content-counter-003
content: counter(c, circle)
content-counter-004
content: counter(c, square)
content-counter-005
content: counter(c, decimal)
content-counter-006
content: counter(c, decimal-leading-zero)
content-counter-007
content: counter(c, lower-roman)
content-counter-008
content: counter(c, upper-roman)
content-counter-009
content: counter(c, georgian)
content-counter-010
content: counter(c, armenian)
content-counter-011
content: counter(c, lower-latin)
content-counter-012
content: counter(c, lower-alpha)
content-counter-013
content: counter(c, upper-latin)
content-counter-014
content: counter(c, upper-alpha)
content-counter-015
content: counter(c, lower-greek)
content-counter-016 (invalid)
content: counter() error cases
content-counters-000
content: counters(c, ".")
content-counters-001
content: counters(c, ".", none)
content-counters-002
content: counters(c, ".", disc)
content-counters-003
content: counters(c, ".", circle)
content-counters-004
content: counters(c, ".", square)
content-counters-005
content: counters(c, ".", decimal)
content-counters-006
content: counters(c, ".", decimal-leading-zero)
content-counters-007
content: counters(c, ".", lower-roman)
content-counters-008
content: counters(c, ".", upper-roman)
content-counters-009
content: counters(c, ".", georgian)
content-counters-010
content: counters(c, ".", armenian)
content-counters-011
content: counters(c, ".", lower-latin)
content-counters-012
content: counters(c, ".", lower-alpha)
content-counters-013
content: counters(c, ".", upper-latin)
content-counters-014
content: counters(c, ".", upper-alpha)
content-counters-015
content: counters(c, ".", lower-greek)
content-counters-016
content: counters() string argument
content-counters-017
content: counters() string argument
content-counters-018 (invalid)
content: counters() error cases
counter-increment-000 (dom)
dynamic changes to 'counter-increment'
counter-increment-001 (dom)
dynamic changes to 'counter-increment'
counter-increment-002 (dom)
dynamic changes to 'counter-increment'
counter-reset-000 (dom)
dynamic changes to 'counter-increment'
counter-reset-001 (dom)
dynamic changes to 'counter-increment'
counter-reset-002 (dom)
dynamic changes to 'counter-increment'
counters-hidden-000
Counter properties on 'content: none' pseudo-elements
counters-hidden-001
Counter properties on 'display: none' elements
counters-hidden-002
Counter properties on 'visibility: hidden' elements
counters-multi-000
Multiple resets for same counter
counters-multi-001
Multiple increments and resets
counters-order-000
Order of 'counter-reset', 'counter-increment', and counter use, including pseudo-elements
counters-order-001
Order of counters in out-of-flow content
counters-root-000
counters on the root element
counters-scope-000
Counter scope
counters-scope-001
Counter scope and nesting on elements
counters-scope-002
Counter scope and nesting on :before
counters-scope-003
Counter scope and nesting on :after
counters-scope-004
Counter scope and nesting
counters-scope-implied-000
Implied counter scopes with no 'counter-increment' or 'counter-reset'
counters-scope-implied-001
Implied counter scopes by counter use
counters-scope-implied-002
Implied counter scopes by 'counter-increment'