Francis wrote:
On Fri, Oct 10, 2008 at 12:43:59PM +0000, corvid wrote:
Christopher wrote:
Hi there,
Doing web searches using www.altavista.com does not work. It is as if the search terms are not submitted. The following HTML errors are detected:
HTML warning: line 2, the required DOCTYPE declaration is missing (or invalid) HTML warning: line 68, - forcing close of open tag: <form> HTML warning: line 68, FORM lacks a Submit button HTML warning: line 94, unexpected closing tag: </form>. -- expected </table>
Searching for "Images", "MP3/Audio", or "Video" instead of "Web" or "News" works well.
Is this a problem with altavista rather than with dillo?
It looks like altavista just threw together their form and table tags rather than nesting them.
It's a problem with altavista, in that their HTML is invalid, and therefore they rely on browser-fixups to get the result they probably wanted.
It's a problem with dillo, in that the submit button (presumably) works for most other browsers.
More specifically, the main difference between the (working) images page and the (failing) web page is the presence of an explicit close-table-cell </td> tag.
If you remove the </td> on line 68 of the altavista index.html page, then the submit button works.
So presumably dillo is handling "explicit </td> before <td>" differently from "no </td> immediately before <td>", at least in this case.
I think dillo sees <td> ... <form> ... </td> and closes the form, which seems like the right behavior.
(dillo1 acts the same, except it doesn't show the input field or the search button at all in the first case.)
It doesn't look like a significant v1-v2 regression to me, apart from the fact that it now looks like it might submit something.