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

Unified Diff: third_party/WebKit/LayoutTests/svg/animations/script-tests/animateMotion-still.js

Issue 1418663004: SVG animateMotion paths that only cause offsets are no longer ignored (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/animateMotion-still.js
diff --git a/third_party/WebKit/LayoutTests/svg/animations/script-tests/animateMotion-fill-freeze.js b/third_party/WebKit/LayoutTests/svg/animations/script-tests/animateMotion-still.js
similarity index 78%
copy from third_party/WebKit/LayoutTests/svg/animations/script-tests/animateMotion-fill-freeze.js
copy to third_party/WebKit/LayoutTests/svg/animations/script-tests/animateMotion-still.js
index 98c4084719a15998a655d568b2fbc5dd055b789b..e6b9ae9fc9d42ad39a3b94d5476cd3b846faa869 100644
--- a/third_party/WebKit/LayoutTests/svg/animations/script-tests/animateMotion-fill-freeze.js
+++ b/third_party/WebKit/LayoutTests/svg/animations/script-tests/animateMotion-still.js
@@ -1,21 +1,21 @@
-description("Test for animation freeze when repeatDur is not a multiple of dur");
-embedSVGTestCase("resources/animateMotion-fill-freeze.svg");
+description("Test animations that only express an offset");
+embedSVGTestCase("resources/animateMotion-still.svg");
// Setup animation test
function sample1() {
- shouldBeCloseEnough("rootSVGElement.getBBox().x", "0");
+ shouldBeCloseEnough("rootSVGElement.getBBox().x", "100");
}
function sample2() {
- shouldBeCloseEnough("rootSVGElement.getBBox().x", "50");
+ shouldBeCloseEnough("rootSVGElement.getBBox().x", "100");
}
function sample3() {
- shouldBeCloseEnough("rootSVGElement.getBBox().x", "100");
+ shouldBeCloseEnough("rootSVGElement.getBBox().x", "0");
}
function sample4() {
- shouldBeCloseEnough("rootSVGElement.getBBox().x", "100");
+ shouldBeCloseEnough("rootSVGElement.getBBox().x", "0");
}
function executeTest() {

Powered by Google App Engine
This is Rietveld 408576698