BUG?: DITA thead @morerows cause bad colwidth in WebHelp
Posted: Fri May 24, 2013 4:41 pm
In a DITA table, if thead has two rows, and the cells in the first column are spanned using morerows, then in oXygen WebHelp output, the second column can be wider than specified by the colwidth. (I have not examined the original DITA-OT HTML output.)
Here is a sample table to demonstrate the problem:
Here is a sample table to demonstrate the problem:
Code: Select all
<table frame="all" rowheader="firstcol" id="table_jcy_vjc_hk">
<title>Comparison of <table> and <simpletable></title>
<tgroup cols="4">
<colspec colname="c1" colnum="1" colwidth="30*"/>
<colspec colname="c2" colnum="2" colwidth="10*"/>
<colspec colname="c3" colnum="3" colwidth="10*"/>
<colspec colname="c4" colnum="4" colwidth="50*"/>
<thead>
<row>
<!-- use of morerows here causes column c2 to be wider than 10* in webHelp output -->
<entry morerows="1">Feature</entry>
<entry namest="c2" nameend="c3">Supported by</entry>
<entry morerows="1">Comments</entry>
</row>
<row>
<entry><table></entry>
<entry><simpletable></entry>
</row>
</thead>
<tbody>
<row>
<entry>Adjustable column widths</entry>
<entry>Yes</entry>
<entry>Yes</entry>
<entry>Expressed in percentages.</entry>
</row>
</tbody>
</tgroup>
</table>