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

Unified Diff: third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-elem-10-t-drt.js

Issue 1406303007: Drop SVGGraphicsElement.getTransformToElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 2 months 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/animations/script-tests/animate-elem-10-t-drt.js
diff --git a/third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-elem-10-t-drt.js b/third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-elem-10-t-drt.js
index bb7c5a9d6ea2317d4e9d1554acd8287122ccdf08..a348b5f488e21e2897f2f0de57b25ff530aa07f1 100644
--- a/third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-elem-10-t-drt.js
+++ b/third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-elem-10-t-drt.js
@@ -5,25 +5,25 @@ embedSVGTestCase("../W3C-SVG-1.1/animate-elem-10-t.svg");
function sample1() {
shouldBeCloseEnough("rect1.height.animVal.value", "210");
shouldBe("rect1.height.baseVal.value", "210");
- expectTranslationMatrix("rootSVGElement.getTransformToElement(rect2)", "-250", "-250");
+ expectTranslationMatrix("getTransformToElement(rootSVGElement, rect2)", "-250", "-250");
}
function sample2() {
shouldBeCloseEnough("rect1.height.animVal.value", "177");
shouldBe("rect1.height.baseVal.value", "210");
- expectTranslationMatrix("rootSVGElement.getTransformToElement(rect2)", "-250", "-217");
+ expectTranslationMatrix("getTransformToElement(rootSVGElement, rect2)", "-250", "-217");
}
function sample3() {
shouldBeCloseEnough("rect1.height.animVal.value", "121");
shouldBe("rect1.height.baseVal.value", "210");
- expectTranslationMatrix("rootSVGElement.getTransformToElement(rect2)", "-250", "-161");
+ expectTranslationMatrix("getTransformToElement(rootSVGElement, rect2)", "-250", "-161");
}
function sample4() {
shouldBeCloseEnough("rect1.height.animVal.value", "10");
shouldBe("rect1.height.baseVal.value", "210");
- expectTranslationMatrix("rootSVGElement.getTransformToElement(rect2)", "-250", "-50");
+ expectTranslationMatrix("getTransformToElement(rootSVGElement, rect2)", "-250", "-50");
}
function executeTest() {

Powered by Google App Engine
This is Rietveld 408576698