| Index: LayoutTests/fast/layers/nested-layers-1.html
|
| diff --git a/LayoutTests/fast/layers/nested-layers-1.html b/LayoutTests/fast/layers/nested-layers-1.html
|
| index 793525441eddb0960799e16f5e0f59827836723f..a3ee0e67004ffee563753a6144fdb0dc0fd4fe71 100644
|
| --- a/LayoutTests/fast/layers/nested-layers-1.html
|
| +++ b/LayoutTests/fast/layers/nested-layers-1.html
|
| @@ -1,17 +1,15 @@
|
| <!DOCTYPE html>
|
| <html>
|
| <head>
|
| +<script src="../../resources/run-after-display.js"></script>
|
| <script>
|
| function test()
|
| {
|
| - document.body.offsetTop;
|
| if (window.testRunner) {
|
| - testRunner.display();
|
| + testRunner.waitUntilDone();
|
| testRunner.dumpAsText();
|
| - finish();
|
| - } else {
|
| - window.setTimeout(finish, 50);
|
| }
|
| + runAfterDisplay(finish);
|
| }
|
|
|
| function finish()
|
| @@ -19,6 +17,8 @@ function finish()
|
| var innerLayer = document.getElementById('innerLayer');
|
| innerLayer.style.left = '19px';
|
| innerLayer.style.top = '23px';
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| }
|
| </script>
|
| <style>
|
|
|