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

Unified Diff: LayoutTests/svg/custom/use-detach.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/use-detach.svg
diff --git a/LayoutTests/svg/custom/use-detach.svg b/LayoutTests/svg/custom/use-detach.svg
index a1f975baf243c7e6f55a7062a3bde9441ccf6194..71119a482555fb4cb59d61668e76f96b79d832e0 100644
--- a/LayoutTests/svg/custom/use-detach.svg
+++ b/LayoutTests/svg/custom/use-detach.svg
@@ -8,12 +8,14 @@
function repaintTest() {
var elem = document.getElementById('use');
elem.setAttributeNS(null,'display','inline');
- window.setTimeout("step2()", 0);
+ // FIXME: we need a better way of waiting for layout/repainting to happen
+ window.setTimeout("step2()", 1);
}
function step2() {
var elem = document.getElementById('use');
elem.setAttributeNS(null,'display','none');
- window.setTimeout("step3()", 0);
+ // FIXME: we need a better way of waiting for layout/repainting to happen
+ window.setTimeout("step3()", 1);
}
function step3() {
var elem = document.getElementById('use');
« no previous file with comments | « LayoutTests/svg/custom/resource-client-removal.svg ('k') | LayoutTests/svg/repaint/image-with-clip-path.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698