Version: (using KDE KDE 3.3.0) Installed from: Compiled From Sources Compiler: gcc version 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5) That's what I'm running now but I'm not certain KDE was compiled with that version OS: Linux I have the following HTML snippet... <table width='100%' bgcolor='#7171a5'> <form action='/cgi-bin/itrs_csv_sql.pl' name="searchform" method='post' target='_repbody'> <tr><td> <div name ='sqldiv' id='sqldiv'> <font class='medium' style='color:white'> <i>No Fields Currently Selected.</i></font> </div> </td> </tr> </table> And the Following Javascript...well...it's actually Perl, but... myDiv = window.top.frames['_repnav'].document.getElementById('sqldiv'); ... var s; s = "<table width='100%'><tr><td class='medium' " + "style='color:white' colspan='3'>" + fieldname + "<input type='hidden' id='h" + myCounter + "' name='h" + myCounter + "' value='" + fieldname + "'></td></tr>"; s += "<tr><td><select class='small' id='o" + myCounter + "' name='o" + myCounter + "'>" + myOptions + "</select></td>"; s += "<td><input class='small' type='text' size='15' " + "id='v" + myCounter + "' name='v" + myCounter + "'></td>"; s += "<td><input type='checkbox' checked='true' id='c" + myCounter +"'></td></tr></table>"; myDiv.innerHTML += s; ... (Some HTML and Javascript has been omitted for the sake of brevity) Everything seems to work properly until the form is submitted. Unfortunately, the elements which are contained by the DIV don't seem to be part of the posted data. I'm not a web developer, so it may be that *I* have something broken. It doesn't work in Firefox either, but it does work as expected in IE. I can provide full examples if you need it, but you should be able to reproduce the problem with the above code.
It appears to be the odd placement of the <form> element that does it. I'm not sure if this should be a bug or not. I didn't write the above HTML so I didn't notice it at first. If you move the form above the <table> tag it seems to work fine. If this is proper behavior go ahead and close this.
The HTML is invalid. You can't have a <form> tag between a <table> and a <tr>. Also, there isn't enough of the javascript to know for *sure* there is no Konwi bug here. As for the HTML, I don't think this is a popular enough miscoding to warrant Konqi handling this in quirks mode. I am going to close this as bug as invalid. If you disagree, please reopen, and post the entire file as a test case. Thanks!
> The HTML is invalid. You can't have a <form> tag between a <table> and a > <tr>. But people do it all the time, and we have already invested quite a bit of effort to handle this. And, Mark: I really appreciate your help with this, but if you're reading this, please remember that validity is -irrelevant- on the web -- practically 100% of websites are invalid. However, we do need a complete, standalone testcase.
issue appears to be known and being worked on --> confirming.
I wonder if this even works in Firefox?
Created attachment 24463 [details] testcase I tried constructing a testcase from what's in the bugreport. Basically it just dynamically adds form fields to a form that's defined in an odd position (between <table> and <tr>) and not closed. I chose method='get' so uploading the html is sufficient.
Using the testcase I attached this problems is no longer reproducible in 3.5.9 and trunk r799198. Answering Allan's question: it doesn't work in Firefox 2 :) Do you think this testcase is enough to close this bug?
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.