Chris Bowditch commented on FOP-2308:

Hi Alexey,

You are quite right about the spec. However, this direction in the CSS2 spec 
seems somewhat arbitrary and inconsistent with the behaviour of the other 
values of text-transform. Maybe thats to handle the edge case of an acronym 
within a capitalized sentence, but I still believe it would be more useful if 
text-transform processed all characters in the word when using capitalize. I 
find most users expect a common sense approach and don't usually take the time 
to read specifications. Anyway, the change has been reverted at your and 
Pascal's request.



> text-transform="capitalize" assumes input text is lowercase
> -----------------------------------------------------------
>                 Key: FOP-2308
>                 URL: https://issues.apache.org/jira/browse/FOP-2308
>             Project: Fop
>          Issue Type: Bug
>            Reporter: Luis Bernardo
>             Fix For: trunk
>         Attachments: test.fo
> <fo:block text-transform="capitalize">CAPITALIZE</fo:block> should output 
> Capitalize, not CAPITALIZE as it does currently.

This message was sent by Atlassian JIRA

Reply via email to