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/css/cursor-replace.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/css/cursor-replace.svg
diff --git a/third_party/WebKit/LayoutTests/svg/css/cursor-replace.svg b/third_party/WebKit/LayoutTests/svg/css/cursor-replace.svg
index c19debc7938d413813e0fbd735cb017ead09c8d8..2827edc1a3fca2b93f299b2a505de3cd1f2261df 100644
--- a/third_party/WebKit/LayoutTests/svg/css/cursor-replace.svg
+++ b/third_party/WebKit/LayoutTests/svg/css/cursor-replace.svg
@@ -1,7 +1,7 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg">
<script>
function runTest() {
- g.offsetTop;
+ g.clientTop;
g.removeChild(g.firstChild);
if (g.firstChild)
setTimeout(runTest(),0);
@@ -14,7 +14,7 @@ window.onload = function() {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
-
+
g = document.getElementById("g1");
if (location.hash != "#2") {
if (location.hash)

Powered by Google App Engine
This is Rietveld 408576698