Open duonglaiquang opened 4 months ago
@duonglaiquang @atnak i have an idea how to solve this. The problem here is that we have some operations requiring major changes in the dom tree that was already constructed. This is not a problem if you have a dom tree. But neko also supports the sax interface - there is no chance to do that.
Let me think a bit.
And sorry for not being that fast with all your stuff, i have some important private things to take care of.
Note: This issue is a migration (for our convenience) of this issue on sourceforge which can now be closed.
Problem in brief
<frameset>
is lost and not added to the DOM in some malformed HTML when it should be.Examples
These examples demonstate the issue with input HTMLs and their corresponding expected DOM and what HtmlUnit produces.
Note: These already exist as test cases in
org.htmlunit.html.parser.MalformedHtmlTest
assiblingWithoutContentBeforeFrameset()
,framesetInsideForm()
, as well as others not covered above.Remarks