From bffc89284806e3f4bf67854005a9a7c30acd206b Mon Sep 17 00:00:00 2001 From: Manuel Mall Date: Wed, 23 Nov 2005 05:08:05 +0000 Subject: [PATCH] Added test case for hyphenation-ladder-count, fix broken build.xml with respect hyphenation layout tests git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348376 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 2 +- .../block_hyphenation-ladder-count.xml | 354 ++++++++++++++++++ .../block_white-space-treatment_1.xml | 2 +- 3 files changed, 356 insertions(+), 2 deletions(-) create mode 100755 test/layoutengine/hyphenation-testcases/block_hyphenation-ladder-count.xml diff --git a/build.xml b/build.xml index 882db69f7..8153d5ac1 100644 --- a/build.xml +++ b/build.xml @@ -752,7 +752,7 @@ list of possible build targets. - + diff --git a/test/layoutengine/hyphenation-testcases/block_hyphenation-ladder-count.xml b/test/layoutengine/hyphenation-testcases/block_hyphenation-ladder-count.xml new file mode 100755 index 000000000..3bcbdbeb5 --- /dev/null +++ b/test/layoutengine/hyphenation-testcases/block_hyphenation-ladder-count.xml @@ -0,0 +1,354 @@ + + + + + +

+ Checks hyphenation for various languages +

+
+ + + + + + + + + + + + + + + + + + US English hypenation-ladder-count="no-limit" + + + This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a + W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from + another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its + widespread deployment. This enhances the functionality and interoperability of the Web. + + + + US English hypenation-ladder-count="1" + + + This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a + W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from + another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its + widespread deployment. This enhances the functionality and interoperability of the Web. + + + + US English hypenation-ladder-count="2" + + + This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a + W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from + another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its + widespread deployment. This enhances the functionality and interoperability of the Web. + + + + US English hypenation-ladder-count="3" + + + This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a + W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from + another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its + widespread deployment. This enhances the functionality and interoperability of the Web. + + + + US English hypenation-ladder-count="4" + + + This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a + W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from + another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its + widespread deployment. This enhances the functionality and interoperability of the Web. + + + + German hypenation-ladder-count="no-limit" + + + + 1. Warum TEI? + Die Verwendungszeit elektronischer Editionen wird von mehreren + Faktoren verkürzt: der kurzen Lebensdauer der Programme, die zu + ihrer Darstellung verwendet werden, der etwas längeren der + Betriebssysteme, unter denen die Darstellungsprogramme laufen, + der logischen Einrichtung des Datenträgers, auf dem sich die + Edition befindet, und dessen physischer Dauer. + + + + German hypenation-ladder-count="1" + + + + 1. Warum TEI? + Die Verwendungszeit elektronischer Editionen wird von mehreren + Faktoren verkürzt: der kurzen Lebensdauer der Programme, die zu + ihrer Darstellung verwendet werden, der etwas längeren der + Betriebssysteme, unter denen die Darstellungsprogramme laufen, + der logischen Einrichtung des Datenträgers, auf dem sich die + Edition befindet, und dessen physischer Dauer. + + + + German hypenation-ladder-count="2" + + + + 1. Warum TEI? + Die Verwendungszeit elektronischer Editionen wird von mehreren + Faktoren verkürzt: der kurzen Lebensdauer der Programme, die zu + ihrer Darstellung verwendet werden, der etwas längeren der + Betriebssysteme, unter denen die Darstellungsprogramme laufen, + der logischen Einrichtung des Datenträgers, auf dem sich die + Edition befindet, und dessen physischer Dauer. + + + + German hypenation-ladder-count="3" + + + + 1. Warum TEI? + Die Verwendungszeit elektronischer Editionen wird von mehreren + Faktoren verkürzt: der kurzen Lebensdauer der Programme, die zu + ihrer Darstellung verwendet werden, der etwas längeren der + Betriebssysteme, unter denen die Darstellungsprogramme laufen, + der logischen Einrichtung des Datenträgers, auf dem sich die + Edition befindet, und dessen physischer Dauer. + + + + German hypenation-ladder-count="4" + + + + 1. Warum TEI? + Die Verwendungszeit elektronischer Editionen wird von mehreren + Faktoren verkürzt: der kurzen Lebensdauer der Programme, die zu + ihrer Darstellung verwendet werden, der etwas längeren der + Betriebssysteme, unter denen die Darstellungsprogramme laufen, + der logischen Einrichtung des Datenträgers, auf dem sich die + Edition befindet, und dessen physischer Dauer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/test/layoutengine/standard-testcases/block_white-space-treatment_1.xml b/test/layoutengine/standard-testcases/block_white-space-treatment_1.xml index a8d48107f..9678d230a 100755 --- a/test/layoutengine/standard-testcases/block_white-space-treatment_1.xml +++ b/test/layoutengine/standard-testcases/block_white-space-treatment_1.xml @@ -19,7 +19,7 @@

This test checks white space handling for white-space-treatment - with white-spcae-collapse="true". + with white-space-collapse="true". The test currently fails because white space around formatter generated linebreaks is not removed correctly.

-- 2.39.5