diff options
author | Simon Steiner <ssteiner@apache.org> | 2021-05-25 09:08:58 +0000 |
---|---|---|
committer | Simon Steiner <ssteiner@apache.org> | 2021-05-25 09:08:58 +0000 |
commit | d45049750af6e120424ced7aa7a057cc1540f535 (patch) | |
tree | 016097f293688e9a661913cb68b89916815b912a /fop | |
parent | 5ce5fe50a74b9e3f84cabcffee46f860c86dbd47 (diff) | |
download | xmlgraphics-fop-d45049750af6e120424ced7aa7a057cc1540f535.tar.gz xmlgraphics-fop-d45049750af6e120424ced7aa7a057cc1540f535.zip |
FOP-3014: ConcurrentModificationException for table cell
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1890190 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'fop')
-rw-r--r-- | fop/test/layoutengine/standard-testcases/table-cell_height2.xml | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/fop/test/layoutengine/standard-testcases/table-cell_height2.xml b/fop/test/layoutengine/standard-testcases/table-cell_height2.xml new file mode 100644 index 000000000..ad4bd30bb --- /dev/null +++ b/fop/test/layoutengine/standard-testcases/table-cell_height2.xml @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<!-- $Id$ --> +<testcase> + <info> + <p> + This test checks tables, especially table-cells. This test: height and block-progression-dimension. + </p> + </info> + <fo> + <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions"> + <fo:layout-master-set> + <fo:simple-page-master master-name="1"> + <fo:region-body region-name="xsl-region-body"/> + </fo:simple-page-master> + <fo:page-sequence-master master-name="2"> + <fo:repeatable-page-master-reference maximum-repeats="99999" master-reference="1"/> + </fo:page-sequence-master> + </fo:layout-master-set> + <fo:page-sequence master-reference="2"> + <fo:flow flow-name="xsl-region-body"> + <fo:block> + <fo:block> + <fo:wrapper> + <fo:table> + <fo:table-column column-width="226pt"/> + <fo:table-column column-width="198pt"/> + <fo:table-body> + <fo:table-row height="5mm"> + <fo:table-cell> + <fo:wrapper> + <fo:wrapper> + <fo:wrapper> + <fo:block> + <fo:wrapper></fo:wrapper> + </fo:block> + </fo:wrapper> + </fo:wrapper> + </fo:wrapper> + </fo:table-cell> + <fo:table-cell> + <fo:wrapper> + <fo:wrapper></fo:wrapper> + </fo:wrapper> + </fo:table-cell> + </fo:table-row> + </fo:table-body> + </fo:table> + </fo:wrapper> + </fo:block> + </fo:block> + </fo:flow> + </fo:page-sequence> + </fo:root> + </fo> + <checks> + <eval expected="11100" xpath="//lineArea/@bpd"/> + </checks> +</testcase> |