Index: LayoutTests/svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml |
diff --git a/LayoutTests/svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml b/LayoutTests/svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml |
index 3602065a754604b0628f6efe0d90a73443dc5ac1..2edc483e62d22d869d6a005b8846252d1e0470f3 100644 |
--- a/LayoutTests/svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml |
+++ b/LayoutTests/svg/zoom/page/zoom-svg-through-object-with-huge-size.xhtml |
@@ -3,12 +3,12 @@ |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
</head> |
-<body onload="runRepaintTest()"> |
+<body onload="forceStyleRecalc();repaintTest();"> |
<p>Text above the rect</p> |
<object width="400" height="400" type="image/svg+xml" data="resources/huge-rect.svg"/> |
<p>Text below the rect</p> |
<script>var zoomCount = 2; window.shouldZoomOut = true;</script> |
-<script src="../../../fast/repaint/resources/repaint.js"></script> |
+<script src="../../../fast/repaint/resources/text-based-repaint.js"></script> |
<script src="../resources/testPageZoom.js"></script> |
</body> |
</html> |