Index: LayoutTests/svg/W3C-SVG-1.1-SE/text-intro-09-b.svg |
diff --git a/LayoutTests/svg/W3C-SVG-1.1-SE/text-intro-09-b.svg b/LayoutTests/svg/W3C-SVG-1.1-SE/text-intro-09-b.svg |
index d12210214ec7599e0d0f15e46d9b6059031a492c..e8c80f8e613b69c6d14c72dedea35689ce2a8c4e 100644 |
--- a/LayoutTests/svg/W3C-SVG-1.1-SE/text-intro-09-b.svg |
+++ b/LayoutTests/svg/W3C-SVG-1.1-SE/text-intro-09-b.svg |
@@ -86,4 +86,15 @@ |
<text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" |
text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text> |
</g>--> |
+ <script> |
+ if (window.testRunner) { |
+ testRunner.waitUntilDone(); |
+ pendingFonts = 3; |
+ document.fonts.onloadingdone = document.fonts.onloadingerror = function(e) { |
+ pendingFonts -= e.fontfaces.length; |
+ if (pendingFonts == 0) |
+ testRunner.notifyDone(); |
+ }; |
+ } |
+ </script> |
</svg> |