blob: 129760ac15dcb3872ea9e755da14e1dd7a18b1f8 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style type="text/css" media="screen">
iframe {
border: 10px solid black;
padding: 5px;
margin: 20px;
height: 150px;
width: 300px;
-webkit-box-shadow: 0 0 20px black;
-webkit-transform: translateZ(0);
}
.overlay {
position: absolute;
width: 50px;
height: 50px;
top: 5px;
left: 5px;
background-color: rgba(0, 0, 0, 0.2);
}
</style>
<script type="text/javascript" charset="utf-8">
if (window.testRunner)
testRunner.dumpAsText();
function doTest()
{
var iframe = document.getElementsByTagName('iframe')[0];
iframe.parentNode.removeChild(iframe);
}
window.addEventListener('load', doTest, false);
</script>
</head>
<body>
<iframe src="resources/composited-subframe.html"></iframe>
<div class="overlay"></div>
<p>This test should not crash.</p>
</body>
</html>