Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<script>
window.addEventListener('load', () => {
let a = document.createElement("img");
a.srcset = "1";
let b = new DOMParser()
let c = b.parseFromString("<div></div>", "text/html")
c.adoptNode(a)
})
</script>