Title: [88651] trunk/LayoutTests
Revision
88651
Author
[email protected]
Date
2011-06-13 10:49:03 -0700 (Mon, 13 Jun 2011)

Log Message

2011-06-13  Dirk Schulze  <[email protected]>

        Rubber-stamped by Rob Buis.

        SVG patternTransform not animatable
        https://bugs.webkit.org/show_bug.cgi?id=62538

        Removing 'transform' animation test. It was added as an example for animateTransform tests but fails on some platforms.
        Also it is not part of the fix for 'patternTransform' animation. The test for 'patternTransform' works.
        Adding animateTransform-pattern-transform to the skip list of Mac WebKit2, like all other animation or dynamic-update tests.

        * platform/mac-wk2/Skipped:
        * svg/animations/animateTransform-transformable-transform-expected.txt: Removed.
        * svg/animations/animateTransform-transformable-transform.html: Removed.
        * svg/animations/script-tests/animateTransform-transformable-transform.js: Removed.

Modified Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (88650 => 88651)


--- trunk/LayoutTests/ChangeLog	2011-06-13 17:47:01 UTC (rev 88650)
+++ trunk/LayoutTests/ChangeLog	2011-06-13 17:49:03 UTC (rev 88651)
@@ -1,3 +1,19 @@
+2011-06-13  Dirk Schulze  <[email protected]>
+
+        Rubber-stamped by Rob Buis.
+
+        SVG patternTransform not animatable
+        https://bugs.webkit.org/show_bug.cgi?id=62538
+
+        Removing 'transform' animation test. It was added as an example for animateTransform tests but fails on some platforms.
+        Also it is not part of the fix for 'patternTransform' animation. The test for 'patternTransform' works.
+        Adding animateTransform-pattern-transform to the skip list of Mac WebKit2, like all other animation or dynamic-update tests.
+
+        * platform/mac-wk2/Skipped:
+        * svg/animations/animateTransform-transformable-transform-expected.txt: Removed.
+        * svg/animations/animateTransform-transformable-transform.html: Removed.
+        * svg/animations/script-tests/animateTransform-transformable-transform.js: Removed.
+
 2011-06-13  Dimitri Glazkov  <[email protected]>
 
         [Chromium] Updated Leopard pixel baselines.

Modified: trunk/LayoutTests/platform/mac-wk2/Skipped (88650 => 88651)


--- trunk/LayoutTests/platform/mac-wk2/Skipped	2011-06-13 17:47:01 UTC (rev 88650)
+++ trunk/LayoutTests/platform/mac-wk2/Skipped	2011-06-13 17:49:03 UTC (rev 88651)
@@ -440,6 +440,7 @@
 svg/animations/animate-path-to-animation.html
 svg/animations/animate-points.html
 svg/animations/animate-text-nested-transforms.html
+svg/animations/animateTransform-pattern-transform.html
 
 svg/custom/absolute-sized-content-with-resources.xhtml
 svg/custom/circle-move-invalidation.svg

Deleted: trunk/LayoutTests/svg/animations/animateTransform-transformable-transform-expected.txt (88650 => 88651)


--- trunk/LayoutTests/svg/animations/animateTransform-transformable-transform-expected.txt	2011-06-13 17:47:01 UTC (rev 88650)
+++ trunk/LayoutTests/svg/animations/animateTransform-transformable-transform-expected.txt	2011-06-13 17:49:03 UTC (rev 88651)
@@ -1,17 +0,0 @@
-SVG 1.1 dynamic animation tests
-
-Tests animation of 'transform'. Should result in a 200x200 rect and only PASS messages.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS rect.transform.animVal.getItem(0).matrix.a is 1
-PASS rect.transform.baseVal.getItem(0).matrix.a is 1
-PASS rect.transform.animVal.getItem(0).matrix.a is 1.5
-PASS rect.transform.baseVal.getItem(0).matrix.a is 1.5
-PASS rect.transform.animVal.getItem(0).matrix.a is 2
-PASS rect.transform.baseVal.getItem(0).matrix.a is 2
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/svg/animations/animateTransform-transformable-transform.html (88650 => 88651)


--- trunk/LayoutTests/svg/animations/animateTransform-transformable-transform.html	2011-06-13 17:47:01 UTC (rev 88650)
+++ trunk/LayoutTests/svg/animations/animateTransform-transformable-transform.html	2011-06-13 17:49:03 UTC (rev 88651)
@@ -1,15 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<link rel="stylesheet" href=""
-<script src=""
-<script src=""
-<script src=""
-</head>
-<body>
-<h1>SVG 1.1 dynamic animation tests</h1>
-<p id="description"></p>
-<div id="console"></div>
-<script src=""
-</body>
-</html>

Deleted: trunk/LayoutTests/svg/animations/script-tests/animateTransform-transformable-transform.js (88650 => 88651)


--- trunk/LayoutTests/svg/animations/script-tests/animateTransform-transformable-transform.js	2011-06-13 17:47:01 UTC (rev 88650)
+++ trunk/LayoutTests/svg/animations/script-tests/animateTransform-transformable-transform.js	2011-06-13 17:49:03 UTC (rev 88651)
@@ -1,54 +0,0 @@
-description("Tests animation of 'transform'. Should result in a 200x200 rect and only PASS messages.");
-createSVGTestCase();
-
-// Setup test document
-var rect = createSVGElement("rect");
-rect.setAttribute("id", "rect");
-rect.setAttribute("width", "200");
-rect.setAttribute("height", "200");
-rect.setAttribute("fill", "green");
-rect.setAttribute("onclick", "executeTest()");
-
-var animate = createSVGElement("animateTransform");
-animate.setAttribute("id", "animation");
-animate.setAttribute("attributeName", "transform");
-animate.setAttribute("type", "scale");
-animate.setAttribute("from", "1");
-animate.setAttribute("to", "2");
-animate.setAttribute("begin", "click");
-animate.setAttribute("dur", "4s");
-rect.appendChild(animate);
-rootSVGElement.appendChild(rect);
-
-// Setup animation test
-function sample1() {
-    // Check initial/end conditions
-    shouldBeCloseEnough("rect.transform.animVal.getItem(0).matrix.a", "1", 0.01);
-    shouldBeCloseEnough("rect.transform.baseVal.getItem(0).matrix.a", "1", 0.01);
-}
-
-function sample2() {
-    // Check half-time conditions
-    shouldBe("rect.transform.animVal.getItem(0).matrix.a", "1.5");
-    shouldBe("rect.transform.baseVal.getItem(0).matrix.a", "1.5");
-}
-
-function sample3() {
-    shouldBeCloseEnough("rect.transform.animVal.getItem(0).matrix.a", "2", 0.01);
-    shouldBeCloseEnough("rect.transform.baseVal.getItem(0).matrix.a", "2", 0.01);
-}
-
-function executeTest() {
-    const expectedValues = [
-        // [animationId, time, elementId, sampleCallback]
-        ["animation", 0.001,  "rect", sample1],
-        ["animation", 2.0,    "rect", sample2],
-        ["animation", 3.9999, "rect", sample3],
-    ];
-
-    runAnimationTest(expectedValues);
-}
-
-// Begin test async
-window.setTimeout("triggerUpdate(15, 30)", 0);
-var successfullyParsed = true;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to