Skip to content
Permalink
Browse files
2011-05-31 Rob Buis <rbuis@rim.com>
        RS=Dirk Schulze.

        run-webkit-tests on animate-path-nested-transform.html crashes
        https://bugs.webkit.org/show_bug.cgi?id=61798

        "Fix" the crashing test by choosing safer values.

        * svg/animations/script-tests/animate-path-nested-transforms.js:
        (executeTest):


Canonical link: https://commits.webkit.org/77227@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@87747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Rob Buis committed May 31, 2011
1 parent 626f658 commit bc03f796fafbbc868d9c4b4212f896226a49d3bc
Showing with 15 additions and 3 deletions.
  1. +12 −0 LayoutTests/ChangeLog
  2. +3 −3 LayoutTests/svg/animations/script-tests/animate-path-nested-transforms.js
@@ -1,3 +1,15 @@
2011-05-31 Rob Buis <rbuis@rim.com>

RS=Dirk Schulze.

run-webkit-tests on animate-path-nested-transform.html crashes
https://bugs.webkit.org/show_bug.cgi?id=61798

"Fix" the crashing test by choosing safer values.

* svg/animations/script-tests/animate-path-nested-transforms.js:
(executeTest):

2011-05-31 Rob Buis <rbuis@rim.com>

Reviewed by Dirk Schulze.
@@ -16,7 +16,7 @@ g.appendChild(rect)

var animateMotion = createSVGElement("animateMotion")
animateMotion.setAttribute("id", "animation")
animateMotion.setAttribute("dur", "1s")
animateMotion.setAttribute("dur", "4s")
animateMotion.setAttribute("repeatCount", "1")
animateMotion.setAttribute("rotate", "auto")
animateMotion.setAttribute("path", "M 100,250 C 100,50 400,50 400,250")
@@ -45,8 +45,8 @@ function endSample() {

function executeTest() {
const expectedValues = [
["animation", 0.01, "rect", startSample],
["animation", 0.99, "rect", endSample]
["animation", 0.02, "rect", startSample],
["animation", 3.99, "rect", endSample]
];

runAnimationTest(expectedValues);

0 comments on commit bc03f79

Please sign in to comment.