| Index: third_party/WebKit/LayoutTests/fast/forms/relayout-shifts-inner-editor.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/forms/relayout-shifts-inner-editor.html b/third_party/WebKit/LayoutTests/fast/forms/relayout-shifts-inner-editor.html
|
| index 25c3302f9e05323af42eecca01214497484ad0a2..f6da2ba927a9eafd879588fd5a232579cd445489 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/forms/relayout-shifts-inner-editor.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/forms/relayout-shifts-inner-editor.html
|
| @@ -1,4 +1,5 @@
|
| <!DOCTYPE html>
|
| +<script src="../../resources/run-after-layout-and-paint.js"></script>
|
| <script>
|
| var i = 0;
|
| var refreshIntervalId;
|
| @@ -8,13 +9,12 @@ function repaintTest()
|
| }
|
| function moveInputElement()
|
| {
|
| - var input = document.getElementById('input');
|
| i++;
|
| input.style.left = i*10 + 'px';
|
| if (i >= 3) {
|
| - clearInterval(refreshIntervalId);
|
| - if (window.testRunner)
|
| - testRunner.notifyDone();
|
| + runAfterLayoutAndPaint(function() {
|
| + clearInterval(refreshIntervalId);
|
| + }, true);
|
| }
|
| }
|
| if (window.testRunner)
|
|
|