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

Unified Diff: third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-elem-12-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-12-t-drt.js
diff --git a/third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-elem-12-t-drt.js b/third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-elem-12-t-drt.js
index 79e43e9c31f4b264b2600e8ebbc8b75c6a38ec68..4eada699cb3baa579daa7c0361eba2bad0c183c9 100644
--- a/third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-elem-12-t-drt.js
+++ b/third_party/WebKit/LayoutTests/svg/animations/script-tests/animate-elem-12-t-drt.js
@@ -5,25 +5,25 @@ embedSVGTestCase("../W3C-SVG-1.1/animate-elem-12-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