steven0lisa / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
0 stars 0 forks source link

Incorrect % width of child table cells #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
*** This issue was imported from http://java.net/jira/browse/XHTMLRENDERER-337

It was reported by jamjim on 01.10.2010 18:34:38 +0200 and last updated in the 
previous bug tracker on 01.10.2010 18:34:38 +0200

Found in
Operating System: All
Platform: All

The priority for this issue at migration was Major.

Original description: 
Apologies if this is the same bug as 332.

I only have percentages widths set on table cells.  When there is only one
table, the columns and table widths are consistent with browsers.   When the
table is inside the cell of another table, the table should shrink down as much
as possible.

<table border="1">
 <tr>
  <td>
   <table border="1">
    <tr>
     <td style="width:70%;">
       hi
     </td>
     <td style="width:30%;">
       there
     </td>
    </tr>
   </table>
  </td>
 </tr>
</table>

   <table border="1">
    <tr>
     <td style="width:70%;">
       hi
     </td>
     <td style="width:30%;">
       there
     </td>
    </tr>
   </table>

Original issue reported on code.google.com by pdoubl...@gmail.com on 16 Feb 2011 at 9:47