Capitalizing "text-transform: capitalize"

Atom RSS

This site heavily relies on bug reports created by its readers. Anyone can report a bug and be published.

Main navigation:




Search reports by browser:

If the string "text-transform: capitalize" is text-transformed to capitalize, should the "t" of "-transform" be capitalized, too?

Opera and Mozilla say No, but they're in the minority. Therefore this is officially a bug in Opera and Mozilla.

Test page. Workaround is not included.
Reported by ppk.

Mozilla, Opera | Reported on 11 March 2005.

Comments

(Add your own)

Posted by Sebastian Redl on 11 March 2005

1

The spec says nothing except that it's "language-dependent". Title-casing is an extremely complex problem, as evidenced by this blog post by Michael Kaplan, who does stuff like that for a living at Microsoft.
http://blogs.msdn.com/michkap/archive/2005/03/04/384927.aspx
In this post, he describes differences, shortcomings and intentions of functions like VB's StrConv with the vbProperCase flag and .Net's TextInfo.ToTitleCase.
My belief is that capitalize should have never been a valid value for text-transform - the chance of it getting everything right is virtually nil.

Posted by Dan Heller on 24 March 2005

2

A related bug (I think): when "text-transform: capitalize" is applied, Safari appears to capitalize a letter following an apostrophe; see: http://www.usc.edu/education/about/about_dean.htm

Post a comment

Commenting guidelines:

  1. When quoting specs, articles or your own research, please include a URL of the document.
  2. Test your stuff. When reporting browser behaviour, make sure that your report is correct.

Yes