Index: LayoutTests/svg/custom/js-late-mask-and-object-creation.svg |
diff --git a/LayoutTests/svg/custom/js-late-mask-and-object-creation.svg b/LayoutTests/svg/custom/js-late-mask-and-object-creation.svg |
index 86a91c79ffe360b67d8c61d88366fcc271a7e849..36a0ac2ca67c909e36487b0b93c4b5ab59181eba 100644 |
--- a/LayoutTests/svg/custom/js-late-mask-and-object-creation.svg |
+++ b/LayoutTests/svg/custom/js-late-mask-and-object-creation.svg |
@@ -10,7 +10,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() |
@@ -23,7 +24,8 @@ |
rect.setAttribute("mask", "url(#dynMask)"); |
content.appendChild(rect); |
- setTimeout(createMask, 0); |
+ // FIXME: we need a better way of waiting for layout/repainting to happen |
+ setTimeout(createMask, 1); |
} |
function createMask() |