Version: (using KDE Devel) Installed from: Compiled sources If the window is not wide enough, konqueror will show the second table below the first, while mozilla will show the second table on the right side (even for small windows). i don't know if mozilla is correct, but this affects spiegel.de. <HTML> <HEAD> <TITLE>table with align=left</TITLE> </HEAD> <BODY> <p>two tables with align="left":</p> <table width="300" border="1" align="left"> <tr> <td>left</td> </tr> </table> <table width="300" border="1" align="left"> <tr> <td>right table?</td> </tr> </table> </BODY> </HTML>
This is probably the gcc-3.3+ miscompilation reported in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11440 Compiling kdelibs with -fno-gcse as an additional gcc flag fixes it at least on powerpc-linux-gnu.
Created attachment 1971 [details] Cropped bottom part
Created attachment 1972 [details] Cropped upper part
CVS commit by coolo: works fine (I even remember having fixed that long ago :) BUG: 49682 A 49682.html 1.1
I am sorry, but I can still reproduce the bug with the test case reported. (I just updated khtml to be sure it is actually there). Just to be sure there is no misunderstanding: The 'right' table is aligned to the left when there is enough space for it in the window, but it is moved to the bottom of the 'left' table when the window is resized to be smaller than the combined width of the two tables.
SVN commit 487243 by ggarand: implement quirky HTML alignment for tables. BUG: 49682, 70552, 105270, 116395 M +4 -0 css/css_renderstyledeclarationimpl.cpp M +6 -4 css/cssparser.cpp M +4 -0 css/cssstyleselector.cpp M +8 -0 css/html4.css M +1 -4 html/html_tableimpl.cpp M +43 -21 rendering/render_block.cpp M +5 -5 rendering/render_block.h M +3 -3 rendering/render_style.h