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

Re: [CSS21] What does 'text-transform: capitalize' mean, exactly?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 21 Oct 2008 10:09:54 -0500
Message-ID: <dd0fbad0810210809x6022757n49b7cc92f2a7d83f@mail.gmail.com>
To: "James Elmore" <James.Elmore@cox.net>
Cc: CSS <www-style@w3.org>
On Tue, Oct 21, 2008 at 10:00 AM, James Elmore <James.Elmore@cox.net> wrote:

> That only leaves 'title-caps' to resolve, since some preferences exist to
> have the camelCase words should be rendered differently in titles.

In that case, you shouldn't be transforming the text casing at all, because
you're stating that it's significant for the meaning.  Instead, use
font-variant: small-caps.  Makes everything look uppercase, but still
preserves a distinction between letters that are "really" lowercase and
those that are "really" uppercase.  I think small-caps for headers looks
rather good, myself.

Received on Tuesday, 21 October 2008 15:10:30 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:40 UTC