https://issues.apache.org/bugzilla/show_bug.cgi?id=53532

          Priority: P2
            Bug ID: 53532
          Assignee: fop-dev@xmlgraphics.apache.org
           Summary: applying incorrect width if a table has a td with
                    colspan
          Severity: normal
    Classification: Unclassified
                OS: Windows XP
          Reporter: ramana1...@gmail.com
          Hardware: PC
            Status: NEW
           Version: all
         Component: general
           Product: Fop

Created attachment 29046
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29046&action=edit
It contains the xsl, As it is allowing only one attachment I copied xsl and xml
which I have used in the same attachment

A table with 3 tds

first row has a td with width 3% and next td spanned 2 columns (colspan = 2,
width = 97%)

second row has a td with width 3%, second td with width 3% and third td with
width 94% but

the second td and third tds are not getting width as specified (in the present
case 2nd td has to get width 3% and 3rd td has to get width 94%) not getting
the width as mentioned.

      The 2nd td and 3td are getting 50% each from the above colspan with even
we mention the width for those 2 tds.


What I am trying to say is when there a row which has colspan 
the sub sequent rows with individual tds with width they are not getting the
correct width applyed to the rows.


example:

<table cellspacing='0' border='1' width='428' cellpadding='0'> 
    <tbody> 
        <tr>
            <td width='10%'>test</td>
            <td colspan='2' width='90%'>
                Here we have colspan as 2 and with as 90, the next will have 3
individual tds that is without colspan
            </td></tr>
        <tr>
        <td width='10%'> aaaa test</td>
        <td width='6%'>ssss</td>
        <td width='84%'>As we have 3 tds here the 2nd td and 3rd are not
getting the width as 6% and 84% respcectively </td>
        </tr>
        </tbody>
        </table>

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to