Bug 68574 - tables elements containing <h?> tags formatted badly
Summary: tables elements containing <h?> tags formatted badly
Status: RESOLVED NOT A BUG
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: 4.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-19 11:49 UTC by cb-kde
Modified: 2013-11-30 11:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Same test case included in the report (154 bytes, text/html)
2003-11-19 11:50 UTC, cb-kde
Details
patch (1.11 KB, patch)
2003-11-28 09:09 UTC, Stephan Kulow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cb-kde 2003-11-19 11:49:50 UTC
Version:           4.0 (using KDE 3.1.93 (CVS >= 20031111), compiled sources)
Compiler:          gcc version 3.3.2 (Debian)
OS:          Linux (i686) release 2.4.21

If a table element contains an header tag (<h?>) then the lines of the table are separated by a large vertical space. This occurs at:
http://www.burybuggyclub.com/index.htm

A test case for this is:

<html>
<head><title>test case</title></head>
<body>
<table>
<tr><td><h5>these lines are</h5>
<tr><td><h5>much too far apart</h5>
</table>
</body>
</html>

Expected behaviour is that the lines are rendered next to each other.
Comment 1 cb-kde 2003-11-19 11:50:47 UTC
Created attachment 3281 [details]
Same test case included in the report
Comment 2 Stephan Kulow 2003-11-28 09:09:30 UTC
Created attachment 3455 [details]
patch

When I understood Dirk's recent fix for top margins, then this fix should be
the right version to fix this problem.
Comment 3 Waldo Bastian 2004-03-30 18:05:48 UTC
I assume this can go in then?
Comment 4 Dirk Mueller 2004-03-30 18:27:31 UTC
I don't think so. The margin collapsing for table cells
has to be fixed instead. 
Comment 5 Michael Leupold 2008-04-14 00:00:34 UTC
Works on 3.5.9 as well as trunk r795901
Comment 6 cb-kde 2008-04-14 00:06:40 UTC
Still doesn't work in KDE 3.5.9 (debian).

Original web page has been changed since 2003, but the test case "Same test case included in the report" attached demonstrates the original problem.

Will re-check with Live CD once it has downloaded.
Comment 7 cb-kde 2008-04-15 00:26:22 UTC
I don't think this is fixed, as I can reproduce the problem on 3.5.9 and the latest LiveCD version 1.0.66.
Comment 8 Germain Garand 2008-04-15 12:28:12 UTC
I'm not sure I understand what you are talking about.
There is vertical space betweeen the two headings, but that's fine as there is no margin collapsing between table cells, and the space is consistent with the 1.24em margins our default style's h5 heading has.

So what's the bug?