ngeorga / flying-saucer

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

Table at max width when padding is bigger than width. #46

Open GoogleCodeExporter opened 8 years ago

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

It was reported by jamjim on 01.10.2010 11:43:54 +0200 and last updated in the 
previous bug tracker on 01.10.2010 11:43:54 +0200

Found in
Operating System: All
Platform: All

The priority for this issue at migration was Major.

Original description: 
When the padding is smaller than the width, the table width is about right.  
When it's the same size, the table is full width.

<html>

<table style="border:solid 1px
blue;padding:49px;width:100px"><tr><td></td></tr></table>
<table style="border:solid 1px
blue;padding:50px;width:100px"><tr><td></td></tr></table>

</html>

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