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

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

From: Glenn Adams <glenn@skynav.com>
Date: Mon, 16 Jan 2012 08:10:00 -0700
Message-ID: <CACQ=j+ehY+uJE49s6UbgbTqAWV_J7W+7jg8mzQKgODkjK=v6GQ@mail.gmail.com>
To: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, WWW Style <www-style@w3.org>
it is certainly questionable authoring for a surrogate pair to be separated
by a element boundary; if it appeared in actual input text, it would
certainly not be well-formed UTF-16; i would prefer a browser to translate
(or interpret) each member of the pair in the following example to (as) the
replacement character (\ufffd).

On Mon, Jan 16, 2012 at 3:31 AM, Kang-Hao (Kenny) Lu <
kennyluck@csail.mit.edu> wrote:

> (12/01/16 5:25), Boris Zbarsky wrote:
>
> I was indeed quite amazed to see the following example work in Firefox
> (and only in Firefox):
>
> data:text/html,<big></big><big></big><script>var big =
> document.querySelector('big'); big.textContent= "\ud834";
> big.nextSibling.textContent = "\udf06";</script>
>
>
Received on Monday, 16 January 2012 15:10:48 GMT

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