W3C home > Mailing lists > Public > www-style@w3.org > April 2007

Re: CSS Generated content selection

From: Allan Sandfeld Jensen <kde@carewolf.com>
Date: Mon, 23 Apr 2007 08:03:35 +0200
To: www-style@w3.org
Message-Id: <200704230803.35960.kde@carewolf.com>

On Sunday 22 April 2007 22:35, Boris Zbarsky wrote:
> Allan Sandfeld Jensen wrote:
> > Without testing I am guessing all browsers return the transformed text.
>
> They don't.  In particular, Gecko represents selections via DOM Range
> objects, and copy operations serialize said Range objects.  Therefore
> neither text-transform nor generated content affect the text/plain
> serialization. Further, since the selection is a DOM Range, it cannot
> represent selections that include generated content.
>
Okay, it that was a bad guess then. I still think you should though, because 
this behavior is unexpected and surprising to the user. That Gecko can't do 
it with it's current design is a not an excuse.

`Allan
Received on Monday, 23 April 2007 06:03:55 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:50 GMT