Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / svg / animations / reinserting-svg-into-document.html
index b0738ea..e41c1fb 100644 (file)
@@ -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()">