xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53532] New: applying incorrect width if a table has a td with colspan
Date Wed, 11 Jul 2012 06:20:42 GMT

          Priority: P2
            Bug ID: 53532
          Assignee: fop-dev@xmlgraphics.apache.org
           Summary: applying incorrect width if a table has a td with
          Severity: normal
    Classification: Unclassified
                OS: Windows XP
          Reporter: ramana1310@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.


<table cellspacing='0' border='1' width='428' cellpadding='0'> 
            <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 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>

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

View raw message