W3C home > Mailing lists > Public > www-style@w3.org > February 2014

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

From: Brian Blakely <anewpage.media@gmail.com>
Date: Wed, 19 Feb 2014 13:27:52 -0500
Message-ID: <CAJGQg4GepE+GDCHFW_YoLoC9wCd9C54uWGMMNwjyx2SgBR0rGg@mail.gmail.com>
To: Jonathan Fielding <jonthanfielding@gmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>, fantasai <fantasai.lists@inkedblade.net>, "Jens O. Meiert" <jens@meiert.com>
I recommend leaving the actual blacklist creation to user agents.  The spec
should only define the principles behind the blacklist's formation.  Slang
that should be grammatically lowercase in a title will be impossible to
identify with 100% accuracy, but it's such a slim edge case that devs can

On Wed, Feb 19, 2014 at 11:52 AM, Jonathan Fielding <
jonthanfielding@gmail.com> wrote:

> The problem of a blacklist is it could be difficult to maintain due to
> different languages, including slang phrases we might want to be
> blacklisted from being capitalized.
> Perhaps provide the option to provide words to be blacklisted so:
> text-transform-lowercase: a, an, the;
> This does raise another concern though, we are then introducing another
> place where we have content in our css, this could potentially cause issues
> where content needs to be CMS controlled due to a multilingual site. Also
> we may need to respecify the 'blacklist' on each element it is applied to
> again adding difficulty to maintaining the blacklist.
> Thoughts welcome on what would work best however I think implementing this
> may require some sort of compromise somewhere to make it workable.
>   Brian Blakely <anewpage.media@gmail.com>
>  19 February 2014 16:40
> 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/

(image/jpeg attachment: postbox-contact.jpg)

Received on Wednesday, 19 February 2014 18:28:39 UTC

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