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

Unified Diff: LayoutTests/svg/custom/js-late-gradient-creation.svg

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
Index: LayoutTests/svg/custom/js-late-gradient-creation.svg
diff --git a/LayoutTests/svg/custom/js-late-gradient-creation.svg b/LayoutTests/svg/custom/js-late-gradient-creation.svg
index b80948b7db7438a932eeb996201fbe53d95f33c5..858239200fe53054c9c45f2e3b08025d41a5c5e8 100644
--- a/LayoutTests/svg/custom/js-late-gradient-creation.svg
+++ b/LayoutTests/svg/custom/js-late-gradient-creation.svg
@@ -10,7 +10,8 @@
var content = document.getElementById("content");
function repaintTest() {
- setTimeout(createGradient, 0);
+ // FIXME: we need a better way of waiting for layout/repainting to happen
+ setTimeout(createGradient, 1);
}
function createGradient()

Powered by Google App Engine
This is Rietveld 408576698