<!DOCTYPE html>
<script src="../resources/run-after-layout-and-paint.js"></script>
<div id="frameContainer">
<iframe src="./resources/composited-iframe-hidden-subframe.html"></iframe>
</div>
<p>This test passes if there is no assert failure in debug builds and there is no visible
content in the iframe above after the page fully settles.
<script>
function hideFrameContainer() {
frameContainer.style.visibility = 'hidden';
}
function showFrameContainer() {
frameContainer.style.visibility = 'visible';
}
if (window.testRunner)
testRunner.waitUntilDone();
runAfterLayoutAndPaint(function() {
hideFrameContainer();
runAfterLayoutAndPaint(function() {
showFrameContainer();
runAfterLayoutAndPaint(function() {
hideFrameContainer();
if (window.testRunner)
runAfterLayoutAndPaint(function() {
testRunner.notifyDone();
});
});
});
});
</script>