Index: LayoutTests/svg/as-object/embedded-svg-immediate-offsetWidth-query.html |
diff --git a/LayoutTests/svg/as-object/embedded-svg-immediate-offsetWidth-query.html b/LayoutTests/svg/as-object/embedded-svg-immediate-offsetWidth-query.html |
index ec59a35dd614adcc87601847ba9097797affb691..1c8081f34e6c5ec003ec609f63122d1f744fc2e8 100644 |
--- a/LayoutTests/svg/as-object/embedded-svg-immediate-offsetWidth-query.html |
+++ b/LayoutTests/svg/as-object/embedded-svg-immediate-offsetWidth-query.html |
@@ -5,7 +5,7 @@ window.enablePixelTesting = true; |
window.jsTestIsAsync = true; |
</script> |
<script src="../../resources/js-test.js"></script> |
-<script src="../../fast/repaint/resources/repaint.js"></script> |
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
<script type="text/javascript"> |
function repaintTest() { |
// Test initial reported offsetWidth is 0, as we're not in the tree yet. |
@@ -31,7 +31,7 @@ window.jsTestIsAsync = true; |
} |
</script> |
</head> |
-<body style="margin: 0px" onload="runRepaintTest()"> |
+<body style="margin: 0px" onload="forceStyleRecalc();repaintTest();"> |
<p id="description"></p> |
<div id="console"></div> |