Index: third_party/WebKit/LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml |
diff --git a/third_party/WebKit/LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml b/third_party/WebKit/LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml |
index 6b4d01dff5cf655c064cad0c9d66718853a4d186..17b0f3cebcf683c88635477dc8582820f1056746 100644 |
--- a/third_party/WebKit/LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml |
+++ b/third_party/WebKit/LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml |
@@ -10,13 +10,13 @@ |
<text id="text2"></text> |
<script> |
if (window.testRunner) |
- testRunner.dumpAsText(); |
+ testRunner.dumpAsText(); |
var range = document.createRange(); |
range.setStart(document.getElementById("use1"), 0); |
range.setEnd(document.getElementById("text2"), 0); |
(new XMLSerializer()).serializeToString(range.extractContents()); |
- document.getElementById('text1').offsetTop; |
+ document.getElementById('text1').clientTop; |
range.surroundContents(document.getElementById("tspan1")); |
</script> |
</svg> |