W3C home > Mailing lists > Public > www-style@w3.org > February 2014

Re: [css-counter-styles] Counting chars instead of symbols in pad

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 21 Feb 2014 13:35:29 -0800
Message-ID: <CAAWBYDCq9bvcYF+n=K=pZ2Q0YGHkL7HqwP=QsMCVvjJ17Jb6Ng@mail.gmail.com>
To: Xidorn Quan <quanxunzhen@gmail.com>
Cc: www-style list <www-style@w3.org>
On Tue, Feb 18, 2014 at 4:57 AM, Xidorn Quan <quanxunzhen@gmail.com> wrote:
> The spec says that, the 'pad' counts the number of symbols, not
> characters. I suggest to change it to counting characters. I have two
> reasons:
> 1. It is not very useful to count symbols. There are many styles use
> multi-character symbols. If people want to build a constant-width
> style based on such styles with pad, they will find it impossible as
> pad counts symbols.
> 2. For some predefined styles, such as the Chinese ideographic styles,
> it is hard to say how many symbols are there, and explicitly defining
> the partition is meaningless while increases the burden of
> implementation.
> Consequently, I propose changing counting symbols to counting
> characters for pad.

Hmm, you're right that the specially-defined styles don't have any
concept of "symbols".

All right, I'll change to "grapheme clusters".

Received on Friday, 21 February 2014 21:36:16 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:19 UTC