Capitalizing "text-transform: capitalize"

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.

This site is no longer maintained. I’m sorry, but it’s just too much work for too little return. You can continue to browse old bug reports, though.

Search reports by browser:

Atom RSS


(Add your own)

1 Posted by Sebastian Redl on 11 March 2005 | Permalink

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.
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.

2 Posted by Dan Heller on 24 March 2005 | Permalink

A related bug (I think): when "text-transform: capitalize" is applied, Safari appears to capitalize a letter following an apostrophe; see: