ngeorga / flying-saucer

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

table width incorretly includes cellspacing #45

Open GoogleCodeExporter opened 8 years ago

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

It was reported by jamjim on 01.10.2010 12:01:13 +0200 and last updated in the 
previous bug tracker on 01.10.2010 12:01:13 +0200

Found in
Operating System: All
Platform: All

The priority for this issue at migration was Major.

Original description: 
It looks like cellspacing is being added to the width of the table.

<table cellspacing="10" style="border:solid 1px blue;width:50px">
<tr><td></td></tr>
</table>

So this table should be rendered at 50px (including border).  It actually
renders at 70px.  This is normally subtle, because most tables have small
cellspacing and only a few columns.

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

GoogleCodeExporter commented 8 years ago
I tested this in firefox 4 and chromium. They both act the same way as flying 
saucer does. Are both these browser in error, or is this really not a bug?

Original comment by russell....@gmail.com on 11 Apr 2011 at 7:51