Re: [csswg-drafts] [css-text] Make first-letter work with inline text (#11047)

`text-transform: capitalize` doesn't work well — in fact, that's what i initially used, but it looked horrible, producing far too much capitalisation (such as 'At'), and destroying the semantics where, for example, lowercase 'factory' implies a generic use of the word rather than part of a name —  it was actually called the 'Soho Manufactory', rather than the 'Soho Factory'.

Something like `text-transform: capitalize-first` might work.  I don't know what the pros and cons would be.

-- 
GitHub Notification of comment by r12a
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11047#issuecomment-2422884045 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 18 October 2024 16:58:01 UTC