[new TESTCASE] khtml and table widths
Hetz Ben Hamo
hetz at kde.org
Thu Jul 18 12:02:20 BST 2002
Heh,
my Kmail settings allow to show HTML code and I'm running KDE CVS from 2 hours
ago. Here's a small screenshot how your table sample looks here:
http://witch.dyndns.org/stuff/table.png
Hetz
> Please check attached (corrected) testcase, it renders similary in Mozilla
> and Konqueror.
> (NOTE: I tested with KDE 3.0.2, *without* Dirk's fixes!...)
>
> | It seems to me, that the widht is calculated by:
> | a) making columns without width specified as small as possible
> | b) taking the sum of the remaining sums and distributing the remaining
> | space in specified ratios.
> |
> | So if you have three columns, two with 20% and one without width
> | specified, those two get 50% of what is left each.
> |
> | The problem seems to be in
> | void RenderTable::calcColMinMax()
> | in khtml/rendering/render_table.cpp
> |
> | This is a bug, isn't it? :-))
> |
> | Cheers,
> | Lada
More information about the kfm-devel
mailing list