Re: Proposal: Minor 'text-transform' property revision

Digging this discussion back up.

text-transform: title is the missing link across a gap that still leaves
content with the responsibility of informing capitalization styles.

I suggest adopting a "blacklist" of words to lowercase when this value is
applied (capitalizing all others), following guidelines outlined by the MLA:

Do not capitalize the following parts of speech when they fall in the
middle of a title:
  * Articles (a, an, the, as in "Under the Bamboo Tree")

  * Prepositions (e.g., against, between, in, of, to, as in "The Merchant
of Venice and a Dialogue between the Soul and Body")

  * Coordinating conjunctions (and, but, for, nor, or, so, yet, as in
"Romeo and Juliet")

  * The to in infinitives (as in "How to Play Chess")

Implementing a "Do Not Capitalize" list should be an achievable goal, as it
focuses on word types, lists of which are available.

There are example implementations of programmatic title casing out there,
such as:
http://titlecase.com/




On Tue, Jul 31, 2012 at 2:04 PM, fantasai <fantasai.lists@inkedblade.net>wrote:

> On 07/31/2012 10:01 AM, Jens O. Meiert wrote:
>
>> My response is basically the same as Adam Kuehn's:
>>>    http://lists.w3.org/Archives/Public/www-style/2004Feb/0509.html
>>> i.e. what's the use case?
>>>
>>
>> Interesting. I’ve misread that response at least twice.
>>
>> Would something like “text-transform: title[case?]” be that
>> far-fetched however? Could there be interest in implementing it, that
>> is?
>>
>
> I think it's very unlikely to be able to get things correct.
> It'd have to handle proper nouns, initialisms, as well as "stop words"
> like 'of' and 'the'.
>
>
>  (I understand this is not a trivial problem to solve, especially
>> internationally, but I have no good understanding of whether user
>> agent spell checkers and similar functionality bring user agents into
>> a position that makes implementation of this affordable.)
>>
>
> I don't think so.
>
> ~fantasai
>
>

Received on Wednesday, 19 February 2014 16:41:24 UTC