mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
22 lines
400 B
HTML
22 lines
400 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script>
|
|
function addFrame(contents)
|
|
{
|
|
var frame = document.createElement("iframe");
|
|
frame.src = "data:text/html," + contents;
|
|
document.body.appendChild(frame);
|
|
}
|
|
function boom()
|
|
{
|
|
addFrame("1");
|
|
document.documentElement.offsetHeight;
|
|
addFrame("2");
|
|
document.body.style.display = "table-caption";
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="boom();"></body>
|
|
</html>
|