Index: LayoutTests/svg/text/selection-doubleclick.svg |
diff --git a/LayoutTests/svg/text/selection-doubleclick.svg b/LayoutTests/svg/text/selection-doubleclick.svg |
index f4f046dc6cfe31d3db271e873c1c62f026ac1ab8..5c4a9315d1d3930210ce07ce5ab83d2cb58ade0a 100644 |
--- a/LayoutTests/svg/text/selection-doubleclick.svg |
+++ b/LayoutTests/svg/text/selection-doubleclick.svg |
@@ -4,7 +4,7 @@ |
<script> |
var line1 = document.getElementById("line1"); |
var center = document.rootElement.createSVGPoint(); |
-var matrix = document.rootElement.getTransformToElement(line1); |
+var matrix = line1.getScreenCTM(); |
var bbox = line1.getBBox(); |
center.x = bbox.x + bbox.width/2; |