Closed mricaud closed 4 years ago
c2 = 8% is the result of xpath max(('40%', '8%', '40%')), looks like a bug in Saxon ? The main problem here is about c3 that should be 12%
See src/test/samples/tables/table_test-colwith.style.widthInCell.cals.xml first table, we now get:
<colspec colname="c1" colwidth="15%"/>
<colspec colname="c2" colwidth="40%"/>
<colspec colname="c3" colwidth="12%"/>
<colspec colname="c4" colwidth="8%"/>
<colspec colname="c5" colwidth="25%"/>
as expected
Just like issue #6 the column width are not correct when the table has rowspan.
Example:
This table has 5 columns, we should get this cals colspec :
Instead of: