Re: CSS Generated content selection

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 UTC