diff options
author | Jeremias Maerki <jeremias@apache.org> | 2007-03-23 13:08:32 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2007-03-23 13:08:32 +0000 |
commit | 26f685652daa9d59317c326270231a81a9290709 (patch) | |
tree | c581f2d34eda21a82f4ec89e5597606f782dd174 /test | |
parent | 40b3642340e89fe4b7baf5f4d130f8b34b0eaaf7 (diff) | |
download | xmlgraphics-fop-26f685652daa9d59317c326270231a81a9290709.tar.gz xmlgraphics-fop-26f685652daa9d59317c326270231a81a9290709.zip |
Better document some of the code in RowPainter.
Added a check in table-cell_number-rows-spanned_bug38397.xml which is the reason for one of the if-branches in RowPainter. It wan't tested previously so that if-branch could easily be mistaken to be useless.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@521713 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r-- | test/layoutengine/standard-testcases/table-cell_number-rows-spanned_bug38397.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/layoutengine/standard-testcases/table-cell_number-rows-spanned_bug38397.xml b/test/layoutengine/standard-testcases/table-cell_number-rows-spanned_bug38397.xml index d326d87b3..e7aabd10e 100644 --- a/test/layoutengine/standard-testcases/table-cell_number-rows-spanned_bug38397.xml +++ b/test/layoutengine/standard-testcases/table-cell_number-rows-spanned_bug38397.xml @@ -39,7 +39,7 @@ <fo:table-column column-width="proportional-column-width(2)"/> <fo:table-body> <fo:table-row> - <fo:table-cell number-rows-spanned="3" number-columns-spanned="2" display-align="center" border="solid 0.5pt"> + <fo:table-cell id="cell1" number-rows-spanned="3" number-columns-spanned="2" display-align="center" border="solid 0.5pt"> <fo:block>cell1</fo:block> </fo:table-cell> <fo:table-cell number-rows-spanned="2" display-align="center" border="solid 0.5pt"> @@ -94,5 +94,6 @@ </fo> <checks> <eval expected="1" xpath="count(//pageViewport)"/> + <eval expected="45200" xpath="//block[@prod-id = 'cell1']/@bpd"/> </checks> </testcase> |