Index: LayoutTests/svg/foreignObject/fO-parent-display-changes.svg |
diff --git a/LayoutTests/svg/foreignObject/fO-parent-display-changes.svg b/LayoutTests/svg/foreignObject/fO-parent-display-changes.svg |
index 7444c9c140a3d3bdd0ee08b97ac3f1696fb0a6ac..3cc541b2c2e870e1abbb6fb272621c5608099f23 100644 |
--- a/LayoutTests/svg/foreignObject/fO-parent-display-changes.svg |
+++ b/LayoutTests/svg/foreignObject/fO-parent-display-changes.svg |
@@ -1,6 +1,6 @@ |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintTest()"> |
- <script xlink:href="../../fast/repaint/resources/repaint.js"/> |
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="forceStyleRecalc();repaintTest();"> |
+ <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> |
<script> |
function repaintTest() { |
document.getElementsByTagName("g")[0].setAttribute("style", "display: block"); |