Index: LayoutTests/svg/animations/reinserting-svg-into-document.html |
diff --git a/LayoutTests/svg/animations/reinserting-svg-into-document.html b/LayoutTests/svg/animations/reinserting-svg-into-document.html |
index b0738ea2d13ba1cbe089cdb70b99df1bb3561ddb..e41c1fb6f9df22cdf42bb51cef92b7e5067b2d3d 100644 |
--- a/LayoutTests/svg/animations/reinserting-svg-into-document.html |
+++ b/LayoutTests/svg/animations/reinserting-svg-into-document.html |
@@ -11,12 +11,14 @@ function load() { |
svg = document.getElementById("svg"); |
rect = document.getElementById("rect"); |
+ // FIXME: we need a better way of waiting for chromium events to happen |
setTimeout(function () { |
svg.setCurrentTime(1); |
document.body.removeChild(svg); |
document.body.appendChild(svg); |
+ // FIXME: we need a better way of waiting for chromium events to happen |
setTimeout(function () { |
shouldBeCloseEnough("rect.x.animVal.value", "30", 1); |
@@ -26,8 +28,8 @@ function load() { |
if (window.testRunner) |
testRunner.notifyDone(); |
- }, 0); |
- }, 0); |
+ }, 1); |
+ }, 1); |
}; |
</script> |
<body onload="load()"> |