From cbb1c078285c275b7d2d84bc6f19c3449a089da7 Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Fri, 6 Jul 2007 10:01:58 +0000 Subject: Add a testcase for a bug in TableStepper spotted during the refactoring. The border-before of the primary grid unit was taken into account instead of the whole cell border. If the cell is spanning over two columns and the border-before for the second grid unit is bigger, this was leading to a wrong step computation. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@553824 13f79535-47bb-0310-9956-ffa450edef68 --- .../table-stepper_colspan_border-before.xml | 83 ++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 test/layoutengine/standard-testcases/table-stepper_colspan_border-before.xml (limited to 'test/layoutengine/standard-testcases') diff --git a/test/layoutengine/standard-testcases/table-stepper_colspan_border-before.xml b/test/layoutengine/standard-testcases/table-stepper_colspan_border-before.xml new file mode 100644 index 000000000..623252acc --- /dev/null +++ b/test/layoutengine/standard-testcases/table-stepper_colspan_border-before.xml @@ -0,0 +1,83 @@ + + + + + +

+ This test checks that TableStepper computes steps correctly in the following condition: + collapsing borders, a cell spanning over two columns, the border-before on the grid unit of + the second column bigger than on the first column. +

+
+ + + + + + + + + + Before the table + + + + + + Cell 1.1 + + + Cell 1.2 + + + + Cell 1.3 + + + + + Cell 2.1 + Cell 2.1 + + + Cell 2.2 + Cell 2.2 + + + + + After the table + + + + + + + + + + + + + + + +
-- cgit v1.2.3