Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(832)

Unified Diff: third_party/WebKit/LayoutTests/svg/text/inline-text-destroy-attributes-crash.xhtml

Issue 1405283006: Deprecate SVGElement.offsetParent/offsetTop/offsetLeft/offsetWidth/offsetHeight (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix the tests instead Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698