- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Mon, 29 Jul 2013 13:12:13 -0700
- To: Brad Kemper <brad.kemper@gmail.com>
- Cc: www-style list <www-style@w3.org>
On Fri, Jul 26, 2013 at 9:36 PM, Brad Kemper <brad.kemper@gmail.com> wrote: > I'm wondering why negative values in counters use the hyphen-minus character > (\2d) [1], instead of the minus character (\2212).[2] > > 1) http://www.w3.org/TR/css-counter-styles-3/#counter-style-negative > > 2) http://www.fileformat.info/info/unicode/char/2212/index.htm Because that's the character browsers currently use. > Also, on a separate note, is there no simple way to get thousands separators > (such as commas or periods or thin spaces) in decimal counter styles?[3] I > imagine that would be common and desirable for those making long numbered > lists. It seems like there should be an 'override' descriptor [4] available > for that, if it is not the default, for setting the separator character and > the grouping quantity (not always 3 digits). > > 3) http://en.wikipedia.org/wiki/Thousands_separator#Digit_grouping > 4) http://www.w3.org/TR/css-counter-styles-3/#override So far, no, there's no way to easily insert a separator character. You can fake it to some extent, but this is part of why the CJK styles are only defined out to 9999 in the @counter-style form. ~TJ
Received on Monday, 29 July 2013 20:13:06 UTC