1
0
Fork 0
firefox/dom/html/test/file_bug209275_1.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

28 lines
571 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<base href="http://example.org" />
</head>
<body onload="load();">
Initial state
<script>
function load() {
// Nuke and rebuild the page.
document.removeChild(document.documentElement);
var html = document.createElement("html");
var body = document.createElement("body");
html.appendChild(body);
var link = document.createElement("a");
link.href = "#";
link.id = "link";
body.appendChild(link);
document.appendChild(html);
// Tell our parent to have a look at us.
parent.gGen.next();
}
</script>
</body>
</html>