| Index: LayoutTests/transitions/opacity-transition-zindex.html
|
| diff --git a/LayoutTests/transitions/opacity-transition-zindex.html b/LayoutTests/transitions/opacity-transition-zindex.html
|
| index 4ce9fc2d4da6db53723c08372fdb1e99ddf99da8..97882f03255c16513d133f31b48a49339cf1842d 100644
|
| --- a/LayoutTests/transitions/opacity-transition-zindex.html
|
| +++ b/LayoutTests/transitions/opacity-transition-zindex.html
|
| @@ -47,12 +47,13 @@
|
| container.style.opacity = 1;
|
|
|
| // dump the tree in the middle of the transition
|
| - if (window.testRunner)
|
| - window.setTimeout(function() {
|
| - var firstElement = document.getElementById('first');
|
| - internals.pauseAnimations(2.5);
|
| + if (window.internals) {
|
| + window.internals.forceCompositingUpdate(document);
|
| + window.internals.pauseAnimations(2.5);
|
| + }
|
| + if (window.testRunner) {
|
| testRunner.notifyDone();
|
| - }, 0);
|
| + }
|
| }
|
| // FIXME: this should use runTransitionTest().
|
| window.addEventListener('load', runTest, false);
|
|
|