You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: These already exist as test cases in org.htmlunit.html.parser.MalformedHtmlTest as siblingWithoutContentBeforeFrameset(), framesetInsideForm(), as well as others not covered above.
Remarks
The correct way to handle this is probably by implementing the frameset-ok flag mentioned in the HTML parsing specs.
The text was updated successfully, but these errors were encountered:
@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.
My current plan is to make at least the frameset-ok flag to the tag balancer to support later decisions during the dom tree construction. This might at least be a possible solution for HtmlUnit.
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
The text was updated successfully, but these errors were encountered: