This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
@counter-style decimal-zero-padded-0-width { system: numeric; pad: 0 "0"; symbols: '\30' '\31' '\32' '\33' '\34' '\35' '\36' '\37' '\38' '\39'; /* symbols: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9'; */ } @counter-style decimal-space-padded-0-width { system: numeric; pad: 0 " "; symbols: '\30' '\31' '\32' '\33' '\34' '\35' '\36' '\37' '\38' '\39'; /* symbols: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9'; */ } @counter-style decimal-zero-padded-4-width { system: numeric; pad: 4 "0"; symbols: '\30' '\31' '\32' '\33' '\34' '\35' '\36' '\37' '\38' '\39'; /* symbols: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9'; */ } @counter-style decimal-space-padded-4-width { system: numeric; pad: 4 " "; symbols: '\30' '\31' '\32' '\33' '\34' '\35' '\36' '\37' '\38' '\39'; /* symbols: '0' '1' '2' '3' '4' '5' '6' '7' '8' '9'; */ }
please add these to http://www.w3.org/TR/predefined-counter-styles/#digit-styles
Any 'pad' with a 0 width has no effect, so the first two do nothing. Why are the 4-width styles you present special over anything else? Note that the Predefined Counter Styles spec isn't meant to be implemented by browsers; it's to provide useful predefined styles for authors to copy into their own stylesheets. Also note that, since the styles are identical to 'decimal' except for their 'pad' value, you can define them as override styles more easily: @counter-style decimal-zero-padded-4-width { system: override decimal; pad: 4 "0"; } etc.