Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / svg / custom / js-late-marker-and-object-creation.svg
index 18b4f64..ea863ef 100644 (file)
@@ -19,7 +19,8 @@
     var content = document.getElementById("content");
 
     function repaintTest() {
-        setTimeout(createObject, 0);
+        // FIXME: we need a better way of waiting for layout/repainting to happen
+        setTimeout(createObject, 1);
     }
 
     function createObject()
@@ -34,7 +35,8 @@
         path.setAttribute("d", "M 130 135 L 180 135 L 180 185");
 
         content.appendChild(path);
-        setTimeout(createMarker, 0);
+        // FIXME: we need a better way of waiting for layout/repainting to happen
+        setTimeout(createMarker, 1);
     }
 
     function createMarker()