Note: This issue is a migration (for our convenience) of this issue on sourceforge which can now be closed.
<frameset>
is lost and not added to the DOM in some malformed HTML when it should be.
These examples demonstate the issue with input HTMLs and their corresponding expected DOM and what HtmlUnit produces.
# | Input HTML | Expected DOM | HtmlUnit's DOM |
---|---|---|---|
1 |
<html>
<div></div>
<frameset>
<frame src="about:blank"/>
<frame src="about:blank"/>
</frameset>
</form>
</html> |
<html>
<head></head>
<frameset>
<frame src="about:blank"/>
<frame src="about:blank"/>
</frameset>
</html> |
<html>
<head></head>
<body>
<div></div>
</body>
</html> |
2 |
<html>
<div>
<frameset>
<frame src="about:blank"/>
<frame src="about:blank"/>
</frameset>
</div>
</html> |
Same as above. | Same as above. |
3 |
<html>
<form>
<frameset>
<frame src="about:blank"/>
<frame src="about:blank"/>
</frameset>
</form>
</html> |
Same as above. |
<html>
<head></head>
<body>
<form></form>
</body>
</html> |
Note: These already exist as test cases in org.htmlunit.html.parser.MalformedHtmlTest
as siblingWithoutContentBeforeFrameset()
, framesetInsideForm()
, as well as others not covered above.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too