| Index: LayoutTests/fast/layers/nested-layers-2.html
|
| diff --git a/LayoutTests/fast/layers/nested-layers-2.html b/LayoutTests/fast/layers/nested-layers-2.html
|
| index c2e4e15ada48df111f29a37853874edf2ee2bdc9..9db3c6587e1fda1ef4782f16d9292839b7507a87 100644
|
| --- a/LayoutTests/fast/layers/nested-layers-2.html
|
| +++ b/LayoutTests/fast/layers/nested-layers-2.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>
|
|
|