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

Unified Diff: third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-elem-11-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-11-t-drt.js
diff --git a/third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-elem-11-t-drt.js b/third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-elem-11-t-drt.js
index f5f4451299677dcdbdbc337dd436c0f06698c9fa..0c45c1a037f554dc37aef0ae149563255a7c9402 100644
--- a/third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-elem-11-t-drt.js
+++ b/third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-elem-11-t-drt.js
@@ -5,25 +5,25 @@ embedSVGTestCase("../W3C-SVG-1.1/animate-elem-11-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", "143.4");
shouldBe("rect1.height.baseVal.value", "210");
- expectTranslationMatrix("rootSVGElement.getTransformToElement(rect2)", "-250", "-183.4");
+ expectTranslationMatrix("getTransformToElement(rootSVGElement, rect2)", "-250", "-183.4");
}
function sample3() {
shouldBeCloseEnough("rect1.height.animVal.value", "76.7");
shouldBe("rect1.height.baseVal.value", "210");
- expectTranslationMatrix("rootSVGElement.getTransformToElement(rect2)", "-250", "-116.7");
+ expectTranslationMatrix("getTransformToElement(rootSVGElement, rect2)", "-250", "-116.7");
}
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