Index: LayoutTests/svg/repaint/image-with-clip-path.svg |
diff --git a/LayoutTests/svg/repaint/image-with-clip-path.svg b/LayoutTests/svg/repaint/image-with-clip-path.svg |
index b801db7e7a35600d8865f857710fb62a2df9de55..73055d01b24e0069da3397d9188682695784f0c8 100644 |
--- a/LayoutTests/svg/repaint/image-with-clip-path.svg |
+++ b/LayoutTests/svg/repaint/image-with-clip-path.svg |
@@ -31,12 +31,14 @@ |
} |
function nextStep() { |
- i.onload = function() { setTimeout(finishTest, 0); }; |
+ // FIXME: we need a better way of waiting for layout/repainting to happen |
+ i.onload = function() { setTimeout(finishTest, 1); }; |
update(200, 50, green); |
} |
function repaintTest() { |
- i.onload = function() { setTimeout(nextStep, 0); }; |
+ // FIXME: we need a better way of waiting for layout/repainting to happen |
+ i.onload = function() { setTimeout(nextStep, 1); }; |
update(50, 100, red); |
} |
</script> |