Index: LayoutTests/svg/animations/svg-animation-policy-none.html |
diff --git a/LayoutTests/svg/animations/svg-animation-policy-none.html b/LayoutTests/svg/animations/svg-animation-policy-none.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..83e465beb97cb2a8b29e0dc458dc24ded3aa6408 |
--- /dev/null |
+++ b/LayoutTests/svg/animations/svg-animation-policy-none.html |
@@ -0,0 +1,45 @@ |
+<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
+<html> |
+<head> |
fs
2014/12/18 16:45:17
You can drop <html> and <head></head> (the <script
je_julie(Not used)
2014/12/22 15:05:17
Done.
|
+<script src="../../resources/js-test.js"></script> |
+<script src="resources/SVGTestCase.js"></script> |
+<script src="resources/SVGAnimationTestCase.js"></script> |
+</head> |
+<body onload="runSMILTest()"> |
+<h1>SVG with animation policy, none</h1> |
+<p id="description"></p> |
+<div id="console"></div> |
+<script> |
+if (window.internals) |
+ internals.settings.setImageAnimationPolicy("none"); |
+ |
+description("This tests svg animation with animation policy none"); |
+// Setup animation test |
+function sample1() { |
+ shouldBeCloseEnough("rect.y.animVal.value", "0"); |
fs
2014/12/18 16:45:17
Shouldn't it be exactly '0'?
je_julie(Not used)
2014/12/22 15:05:17
You're right. I changed it.
|
+ shouldBe("rect.y.baseVal.value", "0"); |
+} |
+ |
+function sample2() { |
+ sample1(); |
+} |
+ |
+function sample3() { |
+ sample1(); |
+} |
+ |
+function sample4() { |
+ sample1(); |
+} |
+ |
+function sample5() { |
+ sample1(); |
+} |
+ |
+function sample6() { |
+ sample1(); |
+} |
+</script> |
+<script src="script-tests/svg-animation-policy.js"></script> |
+</body> |
+</html> |