- From: Simon Sapin <simon.sapin@exyr.org>
- Date: Tue, 18 Feb 2014 13:08:56 +0000
- To: Xidorn Quan <quanxunzhen@gmail.com>, www-style list <www-style@w3.org>
On 18/02/2014 12:57, Xidorn Quan wrote: > Hi, > > 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. "Character" is unfortunately ambiguous. Would this count Unicode code points? Grapheme clusters? Something else? http://dev.w3.org/csswg/css-text/#grapheme-cluster -- Simon Sapin
Received on Tuesday, 18 February 2014 13:09:20 UTC