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

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 UTC