[TESTCASE] khtml and table widths
Ladislav Strojil
Ladislav.Strojil at seznam.cz
Thu Jul 18 08:57:34 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
recent commits by Dirk Mueller broke table rendering for me.
See the test case at http://www.strojil.cz/khtml_testcase.html
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
- --
~ Ladislav Strojil, MFF UK
' v '
// \\
/( )\ Powered by Penguin.
^ ' ^
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9NnTvTnMZPFqq4nwRAuAoAKCCMik0LOgv5IjDOwMtt1IDoX7I0ACg827z
ntFX9p4qO8/BFnYzjq0kt8o=
=gw3Y
-----END PGP SIGNATURE-----
More information about the kfm-devel
mailing list