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

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