diff options
Diffstat (limited to 'test/layoutengine/testcases/multi-column1.xml')
-rw-r--r-- | test/layoutengine/testcases/multi-column1.xml | 75 |
1 files changed, 43 insertions, 32 deletions
diff --git a/test/layoutengine/testcases/multi-column1.xml b/test/layoutengine/testcases/multi-column1.xml index af1741210..451d7141c 100644 --- a/test/layoutengine/testcases/multi-column1.xml +++ b/test/layoutengine/testcases/multi-column1.xml @@ -30,43 +30,54 @@ </fo:layout-master-set> <fo:page-sequence master-reference="normal" white-space-collapse="true"> <fo:flow flow-name="xsl-region-body"> - <fo:block> - <fo:block>line1</fo:block> - <fo:block>line2</fo:block> - <fo:block background-color="orange">line3</fo:block> - <fo:block>line4</fo:block> - <fo:block>line5</fo:block> - <fo:block>line6</fo:block> - <fo:block>line7</fo:block> - <fo:block>line8</fo:block> - <fo:block>line9</fo:block> - <fo:block>line10</fo:block> - <fo:block>line11</fo:block> - <fo:block>line12</fo:block> - <fo:block>line13</fo:block> - <fo:block>line14</fo:block> - <fo:block>line15</fo:block> - <fo:block>line16</fo:block> - <fo:block>line17</fo:block> - <fo:block>line18</fo:block> - <fo:block>line19</fo:block> - <fo:block>line20</fo:block> - <fo:block>line21</fo:block> - <fo:block>line22</fo:block> - <fo:block>line23</fo:block> - <fo:block>line24</fo:block> - <fo:block>line25</fo:block> - <fo:block>line26</fo:block> - <fo:block>line27</fo:block> - <fo:block>line28</fo:block> - <fo:block>line29</fo:block> - <fo:block>line30</fo:block> - </fo:block> + <fo:block>line1</fo:block> + <fo:block>line2</fo:block> + <fo:block background-color="orange">line3</fo:block> + <fo:block>line4</fo:block> + <fo:block>line5</fo:block> + <fo:block>line6</fo:block> + <fo:block>line7</fo:block> + <fo:block>line8</fo:block> + <fo:block>line9</fo:block> + <fo:block>line10</fo:block> + <fo:block>line11</fo:block> + <fo:block>line12</fo:block> + <fo:block>line13</fo:block> + <fo:block>line14</fo:block> + <fo:block>line15</fo:block> + <fo:block>line16</fo:block> + <fo:block>line17</fo:block> + <fo:block>line18</fo:block> + <fo:block>line19</fo:block> + <fo:block>line20</fo:block> + <fo:block>line21</fo:block> + <fo:block>line22</fo:block> + <fo:block>line23</fo:block> + <fo:block>line24</fo:block> + <fo:block>line25</fo:block> + <fo:block>line26</fo:block> + <fo:block>line27</fo:block> + <fo:block>line28</fo:block> + <fo:block>line29</fo:block> + <fo:block>line30</fo:block> </fo:flow> </fo:page-sequence> </fo:root> </fo> <checks> <eval expected="1" xpath="count(//pageViewport)"/> + + <eval expected="1" xpath="count(//regionBody/mainReference/span)"/> + <!-- room for 20 lines --> + <eval expected="20" xpath="//regionBody/mainReference/span/@bpd div 14400"/> + + <!-- 2 columns --> + <eval expected="2" xpath="count(//regionBody/mainReference/span/flow)"/> + <!-- 20 lines in first column --> + <eval expected="20" xpath="count(//regionBody/mainReference/span/flow[1]/block)"/> + <eval expected="20" xpath="//regionBody/mainReference/span/flow[1]/@bpd div 14400"/> + <!-- 10 lines in second column --> + <eval expected="10" xpath="count(//regionBody/mainReference/span/flow[2]/block)"/> + <eval expected="10" xpath="//regionBody/mainReference/span/flow[2]/@bpd div 14400"/> </checks> </testcase> |