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

Re: CSS Generated content selection

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 22 Apr 2007 15:35:46 -0500
Message-ID: <462BC722.90408@mit.edu>
To: Allan Sandfeld Jensen <kde@carewolf.com>
CC: www-style Mailing List <www-style@w3.org>

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.

-Boris

P.S.  2 minutes of testing indicates that Opera 9.02 on Linux also ignores 
text-transform when serializing to text/plain on copy.
Received on Sunday, 22 April 2007 20:36:04 GMT

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