W3C home > Mailing lists > Public > www-style@w3.org > June 2012

Re: [CSS21] [CSS3 Text] Should 'text-transform: uppercase' apply to input type="text" (text entered, typed in text field by user)?

From: Christoph Päper <christoph.paeper@crissov.de>
Date: Sat, 23 Jun 2012 12:30:50 +0200
Message-Id: <9E62ADFA-942F-4292-90F3-6614612EAAB3@crissov.de>
To: W3C www-style mailing list <www-style@w3.org>
Gérard Talbot:

> So, should text-transform apply to user entered text like in text fields?

That’s actually a two-part question: 

 1. Is text input shown to the user subject to ‘text-transform’?
 2. Is text input send to the server subject to ‘text-transform’?

I tend to prefer “it should be” for the first and “it should not be” for the second part.

With ‘text-transform’ some UAs ignore the code/style distinction already: When you copy text that was case-changed through CSS from a browser into a plain-text environment, it will often be pasted with the casing displayed in the browser instead of the one stored in the source code. I strongly believe this is just as wrong as not copying “display: none” parts to the clipboard.
Received on Saturday, 23 June 2012 10:30:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:00 UTC