Index: LayoutTests/fast/repaint/vertical-overflow-same.html |
diff --git a/LayoutTests/fast/repaint/vertical-overflow-same.html b/LayoutTests/fast/repaint/vertical-overflow-same.html |
index 01bb3101c6626f6041413ea558d1ef461c2cf8b0..44babad925c63a1fbf4e3eb9d0ace4181ab4a952 100644 |
--- a/LayoutTests/fast/repaint/vertical-overflow-same.html |
+++ b/LayoutTests/fast/repaint/vertical-overflow-same.html |
@@ -37,7 +37,9 @@ |
target.style.visibility = "visible"; |
}; |
var container = document.getElementsByClassName("container")[0]; |
- container.scrollLeft = 0; |
- runRepaintTest(); |
+ runAfterDisplay(function() { |
+ container.scrollLeft = 0; |
+ runRepaintTest(); |
+ }); |
</script> |
</body></html> |