W3C home > Mailing lists > Public > www-style@w3.org > October 2003

Re: CSS21 16.5 Capitalization text-transform

From: Tex Texin <tex@i18nguy.com>
Date: Thu, 16 Oct 2003 20:07:52 -0400
Message-ID: <3F8F32D8.1EA24826@i18nguy.com>
To: ishida@w3.org
Cc: www-style@w3.org, 'W3c I18n Group' <w3c-i18n-ig@w3.org>

I wasn't proposing to change the source content. When text is highlighted and
copied from a screen, I think users expect to have the visualized text on the
screen, not the source. The visualized text is the content as far as they are
concerned.

Don't change the source content, just put the generated text on the clipboard.

You might want the source, but as the document author you are the only one that
knows what to expect. The rest of us will be surprised...

Most people expect what they see to be copied.

So if the screen has all headings lowercased, they expect it to be lowercase in
the clipboard, regardless of how the source was written.

I do like the suggestion that the clipboard could have the html & css source on
the clipboard as one of the formats.

However, my main point is that UA should be consistent (I think) and so the
spec should prescribe clipboard behavior, so they all do the same thing.
If we don't have agreement on that, then UA's can do whatever they want and
there is no point in debating which approach is right.

tex

Richard Ishida wrote:
> 
> > I find in a number of browsers, that if text-transform is
> > used to change case, and a user highlights and copies the
> > text to the clipboard (on Windows anyway), the text that is
> > placed in the clipboard is the original text (ie without case
> > changes) not the properly cased text displayed in the
> > highlighted region.
> >
> > I think this behavior is very contrary to user expectations.
> 
> Absolutely not contrary to my expectations when I use this !  I'm using
> the CSS for *presentation-related* adaptation.  I use text-transform to
> change the visual appearance - not the stored text.  This enables me to
> achieve different capitalization styling for exactly the same HTML text
> by applying different style sheets.  For example, one of my styles
> lowercases all the text in headings, but I *don't* want it to change the
> content while doing so.
> 
> > It would be good if the CSS spec would specify cut/copy
> > clipboard behavior with respect to functions that change
> > text. Should the original text or the resulting text be
> > placed on the clipboard?
> 
> RI
> 

-- 
-------------------------------------------------------------
Tex Texin   cell: +1 781 789 1898   mailto:Tex@XenCraft.com
Xen Master                          http://www.i18nGuy.com
                         
XenCraft		            http://www.XenCraft.com
Making e-Business Work Around the World
-------------------------------------------------------------
Received on Thursday, 16 October 2003 20:11:21 GMT

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