diff options
author | Luca Furini <lfurini@apache.org> | 2005-09-08 10:47:57 +0000 |
---|---|---|
committer | Luca Furini <lfurini@apache.org> | 2005-09-08 10:47:57 +0000 |
commit | 1c5cae7362ae33673b79090a2e2ae668babcb9da (patch) | |
tree | 1de36c56de9f2e5bb1f7f06fdcd96e2ed5c12795 /test | |
parent | 87185a02acb55a5cf950f27cff44cab34e47bd7a (diff) | |
download | xmlgraphics-fop-1c5cae7362ae33673b79090a2e2ae668babcb9da.tar.gz xmlgraphics-fop-1c5cae7362ae33673b79090a2e2ae668babcb9da.zip |
Removing trailing spaces at the end of text areas: this is done by storing the Position, whose value points to the AreaInfo created for a space, inside the glue element that is ignored if there is a line break.
This fixes item 2) in bug 36533.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279551 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/layoutengine/testcases/wrapper_text-transform_1.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/layoutengine/testcases/wrapper_text-transform_1.xml b/test/layoutengine/testcases/wrapper_text-transform_1.xml index 25133063d..827113678 100644 --- a/test/layoutengine/testcases/wrapper_text-transform_1.xml +++ b/test/layoutengine/testcases/wrapper_text-transform_1.xml @@ -41,7 +41,8 @@ <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="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]"/> + <!-- 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]"/> </checks> </testcase> |