]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Check element lists from the table-cells before the breaker's element list.
authorJeremias Maerki <jeremias@apache.org>
Mon, 23 May 2005 13:53:10 +0000 (13:53 +0000)
committerJeremias Maerki <jeremias@apache.org>
Mon, 23 May 2005 13:53:10 +0000 (13:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198673 13f79535-47bb-0310-9956-ffa450edef68

test/layoutengine/testcases/keep-together2.xml

index dffce8218642cced1edafd520d165fbda4da4503..51069ba765045be532e3c67e1252c48721d9da46 100644 (file)
@@ -18,7 +18,7 @@
 <testcase>
   <info>
     <p>
-      This test checks keep-together on tables.
+      This test checks keep-together on table-rows.
     </p>
   </info>
   <fo>
     </fo:root>
   </fo>
   <checks>
-    <element-list category="breaker">
-      <box w="14400"/>
-      <penalty w="0" p="0"/>
-      <box w="28800"/>
-      <penalty w="0" p="0"/>
-      <box w="14400"/>
-      <skip>3</skip>
-    </element-list>
     <element-list category="table-cell" id="cell1">
       <box w="14400"/>
       <penalty w="0" p="INF"/> <!-- the keep-together on the table-row has to result in an INFINITE penalty here -->
     <element-list category="table-cell" id="cell2">
       <box w="14400"/>
     </element-list>
+    <element-list category="breaker" index="0">
+      <box w="14400"/>
+      <penalty w="0" p="0"/>
+      <box w="28800"/>
+      <penalty w="0" p="0"/>
+      <box w="14400"/>
+      <skip>3</skip>
+    </element-list>
   </checks>
 </testcase>