Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/paint/invalidation/invalidate-after-composited-scroll.html |
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-after-composited-scroll.html b/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-after-composited-scroll.html |
| index d097a6e23fb07a492ac6fdce4f923826d945dc9d..e307a643ff19b1238203e27607a65f8a1a528c88 100644 |
| --- a/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-after-composited-scroll.html |
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/invalidate-after-composited-scroll.html |
| @@ -11,10 +11,12 @@ |
| Tests that invalidation of a div after scrolling invalidates just the div and scrollbars, and no other area. |
| <script> |
| function repaintTest() { |
| - scroller.scrollTop = 2350; |
| - target.style.background = "papayawhip"; |
| - finishRepaintTest(); |
| + setTimeout(function() { |
| + scroller.scrollTop = 2350; |
| + target.style.background = "papayawhip"; |
| + finishRepaintTest(); |
| + }, 3000); |
|
Xianzhu
2016/08/03 16:55:55
Is the timeout intended?
chrishtr
2016/08/03 17:00:36
Sorry that was sloppy, fixed.
|
| } |
| window.testIsAsync = true; |
| onload = runRepaintTest; |
| -</script> |
| +</script> |