[new TESTCASE] khtml and table widths
Vadim Plessky
lucy-ples at mtu-net.ru
Thu Jul 18 12:28:56 BST 2002
On Thursday 18 July 2002 3:02 pm, Hetz Ben Hamo wrote:
| 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
|
Hey, this really look like broken.
Does it look the same if you save attachment to disk?
I attached indexed S/S from my Konq 3.0.2, STABLE release ;-)
| 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
--
Vadim Plessky
http://kde2.newmail.ru (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: table-percentage-ind.png
Type: image/png
Size: 32808 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20020718/597dbc7f/attachment.png>
More information about the kfm-devel
mailing list