W3C home > Mailing lists > Public > www-style@w3.org > March 2015

Re: [css-text] text-transform:capitalize and Unicode digraphs

From: Patrick Dark <www-style.at.w3.org@patrick.dark.name>
Date: Sun, 15 Mar 2015 21:17:15 -0500
Message-ID: <55063D2B.9050004@patrick.dark.name>
To: Jonathan Kew <jfkthame@gmail.com>
CC: "www-style@w3.org" <www-style@w3.org>
On 3/15/2015 5:18 PM, Jonathan Kew wrote:
> But I think it's reasonable to suppose that sites might be applying text-transform:capitalize to elements such as headlines that are being pulled from external data sources, and that some of that external data -- not under the control of the designer writing the CSS for the aggregating site -- might at times be provided in all-caps.

That seems unlikely; if the vast majority of headlines one is aggregating uses conventional title case, then text-transform: capitalize is going to make most imported content look worse by capitalizing things like articles, conjunctions, prepositions, and proper nouns like "amiibo", "document.URL", or "iPhone" which, conventionally, begin with a lowercase letter. If an aggregator is willing to mangle their imported text like that, then I don't see why they'd be particularly concerned about an all-caps headline being restyled with a title case digraph.

The above use-case seems especially unlikely because it requires three unlikely scenarios to occur at once: (A) an author applies text-transform: capitalize to all of their imported headlines; (B) the author is importing content with malformed, all-caps headlines; and (C) some of those all-caps headlines contain digraphs.
Received on Monday, 16 March 2015 02:17:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:05 UTC