aboutsummaryrefslogtreecommitdiffstats
path: root/test/layoutengine
diff options
context:
space:
mode:
authorLuis Bernardo <lbernardo@apache.org>2013-10-29 22:51:53 +0000
committerLuis Bernardo <lbernardo@apache.org>2013-10-29 22:51:53 +0000
commit51dc03c675a424cb6f59e9634775cf17970564da (patch)
tree35c8471b27a0fa8d8112de9ba833c5ebd14d29a3 /test/layoutengine
parentadfb500608ab08eb687b0d8047c9042b6a9a5170 (diff)
downloadxmlgraphics-fop-51dc03c675a424cb6f59e9634775cf17970564da.tar.gz
xmlgraphics-fop-51dc03c675a424cb6f59e9634775cf17970564da.zip
FOP-2308: text-transform="capitalize" assumes input text is lowercase
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1536924 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/layoutengine')
-rw-r--r--test/layoutengine/standard-testcases/wrapper_text-transform_1.xml2
-rw-r--r--test/layoutengine/standard-testcases/wrapper_text-transform_2.xml4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/layoutengine/standard-testcases/wrapper_text-transform_1.xml b/test/layoutengine/standard-testcases/wrapper_text-transform_1.xml
index 886d94c7b..e5607d12c 100644
--- a/test/layoutengine/standard-testcases/wrapper_text-transform_1.xml
+++ b/test/layoutengine/standard-testcases/wrapper_text-transform_1.xml
@@ -41,7 +41,7 @@
</fo>
<checks>
<eval expected="none: This tExT is left as-IS." xpath="//flow/block[1]"/>
- <eval expected="capitalize: This TExT Is Capitalized." xpath="//flow/block[2]"/>
+ <eval expected="capitalize: This Text Is Capitalized." xpath="//flow/block[2]"/>
<!-- spaces are discarded when around a line break -->
<eval expected="uppercase: THIS TEXT IS CONVERTED TO UPPERCASE.LIBERTÉ, ÉGALITÉ, FRATERNITÉ UND KÄSE." xpath="//flow/block[3]"/>
<eval expected="lowercase: this text is converted to lowercase. liberté, égalité,fraternité und käse." xpath="//flow/block[4]"/>
diff --git a/test/layoutengine/standard-testcases/wrapper_text-transform_2.xml b/test/layoutengine/standard-testcases/wrapper_text-transform_2.xml
index e296ef183..8a0813337 100644
--- a/test/layoutengine/standard-testcases/wrapper_text-transform_2.xml
+++ b/test/layoutengine/standard-testcases/wrapper_text-transform_2.xml
@@ -42,7 +42,7 @@
</fo:root>
</fo>
<checks>
- <eval expected="1: This TExT Is Capitalized." xpath="//flow/block[1]"/>
- <eval expected="2: This TExT Is CapitAliZed." xpath="//flow/block[2]"/>
+ <eval expected="1: This Text Is Capitalized." xpath="//flow/block[1]"/>
+ <eval expected="2: This Text Is Capitalized." xpath="//flow/block[2]"/>
</checks>
</testcase>