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

Unified Diff: LayoutTests/css3/flexbox/repaint-rtl-column.html

Issue 644093003: NOP refactor to make various layout tests use setTimeout 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months 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 | « LayoutTests/css3/flexbox/repaint.html ('k') | LayoutTests/fast/css/font-face-css-change-while-loading.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/css3/flexbox/repaint-rtl-column.html
diff --git a/LayoutTests/css3/flexbox/repaint-rtl-column.html b/LayoutTests/css3/flexbox/repaint-rtl-column.html
index 4f1a9f1e94458559099308fd3932a4529a26e6c1..3ac6d9f9e38ee3a3457346ce4231e629e8109675 100644
--- a/LayoutTests/css3/flexbox/repaint-rtl-column.html
+++ b/LayoutTests/css3/flexbox/repaint-rtl-column.html
@@ -36,13 +36,14 @@ window.testIsAsync = true;
window.onload = runRepaintTest;
function repaintTest() {
+ // FIXME: we need a better way of waiting for layout/repainting to happen
setTimeout(function() {
setFlex(4.6);
setTimeout(function() {
setFlex(5);
finishRepaintTest();
- })
- })
+ }, 1)
+ }, 1)
};
</script>
<div style="height: 60px"></div>
« no previous file with comments | « LayoutTests/css3/flexbox/repaint.html ('k') | LayoutTests/fast/css/font-face-css-change-while-loading.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698