gecko/layout/base/crashtests/860579-1.html
Robert O'Callahan 31d25be8bf Bug 860579. Make FindContentInDocument use the frame tree as much as possible. r=mattwoodrow
--HG--
extra : rebase_source : c4d05d33fdc6b2bcc99437808f78ada8770f9263
2013-04-16 18:14:56 +12:00

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>