You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Alexey Neyman (JIRA)" <ji...@apache.org> on 2013/10/30 00:35:25 UTC

[jira] [Commented] (FOP-2308) text-transform="capitalize" assumes input text is lowercase

    [ https://issues.apache.org/jira/browse/FOP-2308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808585#comment-13808585 ] 

Alexey Neyman commented on FOP-2308:
------------------------------------

Er, why? The CSS2 specification is pretty clear that the current behavior is correct:

http://www.w3.org/TR/CSS2/text.html#caps-prop
{quote}
capitalize
Puts the first character of each word in uppercase; *other characters are unaffected*.
{quote}

(emphasis inserted by me)

> 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
(v6.1#6144)