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

Unified Diff: third_party/WebKit/LayoutTests/svg/custom/font-platformDestroy-crash.svg

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/custom/font-platformDestroy-crash.svg
diff --git a/third_party/WebKit/LayoutTests/svg/custom/font-platformDestroy-crash.svg b/third_party/WebKit/LayoutTests/svg/custom/font-platformDestroy-crash.svg
index 632ae948fc40eeda111e4765ddb235d4a96e6353..01cb0436ded0d3914bc460803992904f4e3021c2 100644
--- a/third_party/WebKit/LayoutTests/svg/custom/font-platformDestroy-crash.svg
+++ b/third_party/WebKit/LayoutTests/svg/custom/font-platformDestroy-crash.svg
@@ -29,7 +29,7 @@
var parent = style.parentNode;
for (var t = 0; t < 50; t++) {
- parent.offsetTop;
+ parent.clientTop;
parent.removeChild(style);
parent.appendChild(style);
}

Powered by Google App Engine
This is Rietveld 408576698