Re: [css-text] text-transform: capitalize Word Boundaries too strict

On Wed, Nov 11, 2015 at 10:28 AM, Jonathan Kew <jfkthame@gmail.com> wrote:

> On the other hand, if you capitalize text with things like "left/right,
> forward/back", Gecko gives you "Left/right, Forward/back", which doesn't
> look as good as the Webkit result "Left/Right, Forward/Back".
>
> Basically, you can't win -- there's no simple, correct answer without
> sophisticated (language- and context-specific) analysis of the content that
> would be way out of scope for CSS.
>

Note that --- as I'm sure you know :-) --- Gecko capitalizes exactly at
after line-break opportunities, so you can at least work around cases of
insufficient capitalization, e.g. by inserting a <wbr> before 'right'.
Which is probably a good idea anyway.

Rob
-- 
lbir ye,ea yer.tnietoehr  rdn rdsme,anea lurpr  edna e hnysnenh hhe uresyf
toD
selthor  stor  edna  siewaoeodm  or v sstvr  esBa  kbvted,t
rdsme,aoreseoouoto
o l euetiuruewFa  kbn e hnystoivateweh uresyf tulsa rehr  rdm  or rnea
lurpr
.a war hsrer holsa rodvted,t  nenh hneireseoouot.tniesiewaoeivatewt sstvr
esn

Received on Tuesday, 10 November 2015 21:41:20 UTC