Version: (using KDE KDE 3.4.0) Installed from: Gentoo Packages Compiler: gcc versión 3.3.5-20050130 OS: Linux When i try to change the colspan property of a TD element using javascript, it don't work in konqueror but works great in Explorer and Firefox. Here is a sample of the code i tried: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>PANEL ESTRATÉGICO</title> </head> <body> <table border="0" style="border-collapse:collapse;" id="tabla"> <tr><td>aaaaa</td> <td id='id12005'>enero</td></tr> <tr><td>bbbbb</td><td>bbbbbb</td><td>bbbbbb</td><td>bbbbb</td></tr> </table> <script type="text/javascript" language="javascript"> document.getElementById("id12005").colSpan=3; </script> </body> </html>
Created attachment 11769 [details] testcase from above
I can't see a difference between the firefox and konqueror renderings. What am I meant to be seeing? Can you attach a screenshot?
Created attachment 17894 [details] Screenshot of Konqueror
Created attachment 17895 [details] Screenshot of Firefox As you can see, in Firefox the colspan of the TD is changed using javascript but in konqueror don't work. I edited the testcase and changed border from 0 to 1 because is most easy to see the difference. Sorry if my english is bad, it's not my native language.
Created attachment 17896 [details] testcase Ah, ok - I see it now. The testcase has border="0" on the table, so the problem wasn't visible.
Created attachment 20994 [details] Elaborate Testcase I thought it might be useful to have a more elaborate test case. It shows that modifying both rowspan and colspan has no effect. It also shows, that the initial value read from the properties is 0 instead of 1, if colspan/rowspan is not specified in the html source. And it shows, that rowspan/colspan=0 does not work as expected (spanning the whole table).
On konqueror 4 it is working as expected.
In konqueror 3.5.9, the bug is still there. In svn trunk r801612, the colspan increases correctly, but it is still initially set to 0, which is different to firefox, which sets it initially to 1.
Assigning this to khtml emca. The bug has nearly disappeared, only the starting value (0 instead on 1) is wrong like described in comment 8.
Message from the Bugsquad and Konqueror teams: This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore. If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report. Thank you for your understanding.