From: William Victor Mote Date: Sun, 1 Dec 2002 22:18:36 +0000 (+0000) Subject: test for the text-transform function X-Git-Tag: Alt-Design-integration-base~285 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a369435ba96c4467b05f9776f49c00238822ac30;p=xmlgraphics-fop.git test for the text-transform function git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195700 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/xml/bugtests/text-transform.fo b/test/xml/bugtests/text-transform.fo new file mode 100644 index 000000000..ae1160cca --- /dev/null +++ b/test/xml/bugtests/text-transform.fo @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + Tests of the XSL-FO text-transform property + + + text-transform="none" + + + + + All characters should be left intact. In this example, +only the first character of each sentence should be capitalized. + + + + text-transform="uppercase" + + + + + Everything in this paragraph should be upper case. + + + + text-transform="lowercase" + + + + + Everything in this paragraph should be lower case. + + + + text-transform="capitalize" + + + + + In this test, and all tests in this section, the first +character of each word should be uppercase, and nothing else, unless +otherwise noted. + + + + + + apostrophe or right single +quote?: homer simpson’s biggest ‘problem’ is +probably not Bart. + + + + + + ugly ASCII apostrophe or +single quote?: Don't use a straight apostrophe when you have a +'real' one available. + + + + + + unusual punctuation: + the man from u.n.c.l.e. (All characters in + the last word should be uppercase). + + + + + + em-dash: +indicates a new word—like this. + + + + + + en-dash: +indicates a new word–like this. + + + + + + hyphenation: +The post-hyphen portion of a word should not be capitalized. +this-expression-should-all-be-treated-as-one-word-and-should-continue-on-following-lines-as-one-word. + + + + + + automatic hyphenation: +Internationalization disambiguation. +Internationalization disambiguation. +Internationalization disambiguation. +Internationalization disambiguation. +Internationalization disambiguation. +Internationalization disambiguation. + + + + + + nested wrappers: +Only the first character of the following word should be capitalized: +extensible. + + + + + + + + + \ No newline at end of file