| .outer { position: fixed; } |
| .inner { position: absolute; } |
| <div class=outer>-<div class=inner></div></div> |
| Test passes if it doesn't crash. |
| window.testRunner.dumpAsText(); |
| window.testRunner.waitUntilDone(); |
| window.testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1); |
| window.addEventListener("pageshow", function(event) { |
| window.addEventListener("load", function() { |
| // Navigate to a helper page that will immediately navigate back here after loading. |
| window.location.href = "iframes/resources/page-cache-helper.html"; |