REGRESSION(r217695): Offscreen/overflowed items not being rendered while translating...
[WebKit-https.git] / LayoutTests / compositing / page-cache-back-crash.html
1 <style>
2 .outer { position: fixed; }
3 .inner { position: absolute; }
4 </style>
5 <div class=outer>-<div class=inner></div></div>
6 Test passes if it doesn't crash.
7 <script>
8 if (window.testRunner) {
9     window.testRunner.dumpAsText();
10     window.testRunner.waitUntilDone();
11     window.testRunner.overridePreference("WebKitUsesPageCachePreferenceKey", 1);
12 }
13
14 window.addEventListener("pageshow", function(event) {
15     if (event.persisted)
16         testRunner.notifyDone();
17 }, false);
18
19 window.addEventListener("load", function() {
20     setTimeout(function() {
21         // Navigate to a helper page that will immediately navigate back here after loading.
22         window.location.href = "iframes/resources/page-cache-helper.html";
23     }, 0);
24 });
25 </script>