Bug 156209 - [testcase] cell sizes are incorrect with using colspan
Summary: [testcase] cell sizes are incorrect with using colspan
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-20 07:41 UTC by Vladislav
Modified: 2008-06-05 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
both ways of the tables (479 bytes, text/html)
2008-06-05 12:03 UTC, Jaime Torres
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladislav 2008-01-20 07:41:14 UTC
Version:           3.5.8 (using KDE 3.5.8)
Installed from:    Debian stable Packages
OS:                Linux

I find strange behaviour of konqueror browser. Here is some examples:

This is the correct variant of html (perfect works in konqueror), but for my regret it doesn't work in Opera9, and IE6.

<table width="200" border="1" cellpadding="0" cellspacing="0">
<tr height="11">
    <td width="11">2</td>
    <td bgcolor="green">1</td>
</tr>
<tr><td colspan="2">colspaned area</td></tr>
</table>

(Logicaly, browser have all the information which it need to format the table. There is total width of table and width of first (left) cell. The width of right cell maby calculate. But Opera and IE can't make this calculation ...)

To force Opera and IE image this code correctly I set the size of right cell width="100%"

<table width="200" border="1" cellpadding="0" cellspacing="0">
<tr height="11">
    <td width="11" width="100%">2</td>
    <td bgcolor="green">1</td>
</tr>
<tr><td colspan="2">colspaned area</td></tr>
</table>

But in this case konqueror makes strange random paddings in right cell! (I don't know exactly, but it seems, that padding depend on colspaned cell content!)

P.S. I post the this example in one file in http://mp3frog.ru/konqueror/konqueror.html. Thanks.
Comment 1 Jaime Torres 2008-06-05 12:03:23 UTC
Created attachment 25134 [details]
both ways of the tables
Comment 2 Jaime Torres 2008-06-05 12:17:45 UTC
We have tested it in ff3, konqueror 3.5.9 and 4.1 beta and it works as expected.