W3C home > Mailing lists > Public > www-style@w3.org > January 2012

[css3-text] grapheme clusters across element boundary

From: Kang-Hao (Kenny) Lu <kennyluck@csail.mit.edu>
Date: Sun, 15 Jan 2012 01:53:13 +0800
Message-ID: <4F11C109.3050007@csail.mit.edu>
To: WWW Style <www-style@w3.org>
There seems to be endless trouble if we consider corner cases involving
grapheme clusters across element boundary, i.e., for example, the
following case is not, and might forever not be, implemented interoperably:

data:text/html,t<u>&%23x308;</u><s>est</s> (where &#308; is U+0308
COMBINING DIAERESIS)

I suggest we explicitly mark this kind of situation as undefined in the
spec near the definition of a grapheme cluster, as I believe this is
better than saying nothing at all with regard to this.

Perhaps CSS Text beyond level 3 (or CSS Fonts?) should consider
addressing use case like coloring the combining mark separately form the
base character[1] although I wonder whether standardizing this behavior
might hard competition in the space of font systems.

[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=13502#c11

Cheers,
Kenny
Received on Saturday, 14 January 2012 17:54:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:48 GMT