<!DOCTYPE html>
<script>
if (window.testRunner) {
internals.settings.setViewportEnabled(true);
testRunner.dumpAsText();
}
// After the page is loaded, change the display style to 'none' to make elements disappear.
onload = function() {
document.getElementById('div1').style.display = 'none';
}
</script>
<div id='div1'>
<!-- The disappearing element should contain an iframe with Javascript that responds to touch events. -->
<iframe id='iframe_1' src='resources/compositor-touch-hit-rects-iframe-disappears.html'></iframe>
</div>
This test should not crash.