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

[css-counter-styles] Using character as unit is ambiguous

From: Xidorn Quan <quanxunzhen@gmail.com>
Date: Sat, 22 Feb 2014 16:53:44 +1100
Message-ID: <CAMdq69_HeYqdXmmiNzjR8wVyn8eM2AD3x_41RwyEbVLFs1YFkQ@mail.gmail.com>
To: www-style list <www-style@w3.org>

In the current draft, "character" is used as a unit to describe the
length limitation user agents could apply for some systems. However,
as Simon Sapin mentioned in another thread, "character" is an
ambiguous unit, which could refer to either Unicode code points or
grapheme clusters.

Things could even get more complex when we start discussing the exact
meaning of "character" here. I believe what you meant via this word
was in fact grapheme clusters. But if it means grapheme clusters, the
limitation will be completely useless, since a grapheme cluster could
contain arbitrary number of Unicode code points. However, if the
"character" here means Unicode code points, 20 code points might not
be enough for some counter styles, as a symbol may contains some
cluster extenders to describe one grapheme.

I suggest to allow 60-100 Unicode code points instead.

Xidorn Quan
Received on Saturday, 22 February 2014 05:54:52 UTC

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