Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: LayoutTests/fast/repaint/horizontal-bt-overflow-child.html

Issue 791453007: Deflake repaint layout tests which assumed scroll would happen before first paint. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove newline. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/horizontal-bt-overflow-child-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/repaint/horizontal-bt-overflow-child.html
diff --git a/LayoutTests/fast/repaint/horizontal-bt-overflow-child.html b/LayoutTests/fast/repaint/horizontal-bt-overflow-child.html
index a88328f75b0eef5b91208eec33fa36b333d67bea..065d437e65b6c6846369ed5dcd9701b2c87f4dbc 100644
--- a/LayoutTests/fast/repaint/horizontal-bt-overflow-child.html
+++ b/LayoutTests/fast/repaint/horizontal-bt-overflow-child.html
@@ -38,7 +38,9 @@
target.style.visibility = "visible";
};
var container = document.getElementsByClassName("container")[0];
- container.scrollTop = 3000;
- runRepaintTest();
+ runAfterDisplay(function() {
+ container.scrollTop = 3000;
+ runRepaintTest();
+ });
</script>
</body></html>
« no previous file with comments | « no previous file | LayoutTests/fast/repaint/horizontal-bt-overflow-child-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698