When I loaded your code (from above) into my browser, then saved DOM tree into .html, using...
persist->SaveDocument(nsnull, file, nsnull, nsnull, 0, 0);
i got:
As you can see <form> tag was closed just after opening...
Of course. The original markup (copied from the site you pointed to) is invalid, and the parser fixes it up.
-Boris _______________________________________________ mozilla-embedding mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-embedding
