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

Re: [css3-text] grapheme clusters across element boundary

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 16 Jan 2012 15:15:04 -0800
Message-ID: <4F14AF78.10206@inkedblade.net>
To: www-style@w3.org
On 01/14/2012 09:53 AM, Kang-Hao (Kenny) Lu wrote:
> 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
> 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

   | The rendering characteristics of a <i>character</i> divided by an
   | element boundary is undefined: it may be rendered as belonging to
   | either side of the boundary, or as some approximation of belonging
   | to both. Authors should avoid dividing grapheme clusters by element
   | boundaries.

How's that?

Received on Monday, 16 January 2012 23:15:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:09 UTC