blob: 511bdbf7da519a868e9b354bdd550f1f8b1e8aa9 [file] [log] [blame]
<style>
.outer { position: fixed; }
.inner { position: absolute; }
</style>
<div class=outer>-<div class=inner></div></div>
Test passes if it doesn't crash.
<script>
if (window.testRunner) {
window.testRunner.dumpAsText();
window.testRunner.waitUntilDone();
window.testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
}
window.addEventListener("pageshow", function(event) {
if (event.persisted)
testRunner.notifyDone();
}, false);
window.addEventListener("load", function() {
setTimeout(function() {
// Navigate to a helper page that will immediately navigate back here after loading.
window.location.href = "iframes/resources/page-cache-helper.html";
}, 0);
});
</script>