Modified: trunk/LayoutTests/ChangeLog (93531 => 93532)
--- trunk/LayoutTests/ChangeLog 2011-08-22 20:05:51 UTC (rev 93531)
+++ trunk/LayoutTests/ChangeLog 2011-08-22 20:23:58 UTC (rev 93532)
@@ -1,3 +1,15 @@
+2011-08-22 Peter Kasting <[email protected]>
+
+ Unreviewed, rolling out r93517.
+ http://trac.webkit.org/changeset/93517
+ https://bugs.webkit.org/show_bug.cgi?id=63553
+
+ Breaks GTK Linux and Chromium Win
+
+ * svg/animations/animate-end-attribute-expected.txt: Removed.
+ * svg/animations/animate-end-attribute.html: Removed.
+ * svg/animations/script-tests/animate-end-attribute.js: Removed.
+
2011-08-22 Ryosuke Niwa <[email protected]>
editing/selection/caret-at-bidi-boundary.html timing out on Windows since it was added
Deleted: trunk/LayoutTests/svg/animations/animate-end-attribute-expected.txt (93531 => 93532)
--- trunk/LayoutTests/svg/animations/animate-end-attribute-expected.txt 2011-08-22 20:05:51 UTC (rev 93531)
+++ trunk/LayoutTests/svg/animations/animate-end-attribute-expected.txt 2011-08-22 20:23:58 UTC (rev 93532)
@@ -1,10 +0,0 @@
-SVG 1.1 dynamic animation tests
-
-PASS rect.x.baseVal.value is 100
-PASS rect.x.baseVal.value is 50
-PASS rect.x.baseVal.value is 200
-PASS rect.x.baseVal.value is 200
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
Deleted: trunk/LayoutTests/svg/animations/animate-end-attribute.html (93531 => 93532)
--- trunk/LayoutTests/svg/animations/animate-end-attribute.html 2011-08-22 20:05:51 UTC (rev 93531)
+++ trunk/LayoutTests/svg/animations/animate-end-attribute.html 2011-08-22 20:23:58 UTC (rev 93532)
@@ -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/animate-end-attribute.js (93531 => 93532)
--- trunk/LayoutTests/svg/animations/script-tests/animate-end-attribute.js 2011-08-22 20:05:51 UTC (rev 93531)
+++ trunk/LayoutTests/svg/animations/script-tests/animate-end-attribute.js 2011-08-22 20:23:58 UTC (rev 93532)
@@ -1,50 +0,0 @@
-createSVGTestCase();
-
-// Setup test document
-var rect = createSVGElement("rect");
-rect.setAttribute("id", "rect");
-rect.setAttribute("x", "100");
-rect.setAttribute("width", "100");
-rect.setAttribute("height", "100");
-rect.setAttribute("fill", "green");
-rect.setAttribute("onclick", "executeTest()");
-
-var animate = createSVGElement("animate");
-animate.setAttribute("id", "animation");
-animate.setAttribute("attributeName", "x");
-animate.setAttribute("values", "0;300");
-animate.setAttribute("begin", "click");
-animate.setAttribute("dur", "3s");
-animate.setAttribute("end", "2s");
-animate.setAttribute("fill", "freeze");
-rect.appendChild(animate);
-rootSVGElement.appendChild(rect);
-
-// Setup animation test
-function sample1() {
- shouldBe("rect.x.baseVal.value", "100");
-}
-
-function sample2() {
- shouldBe("rect.x.baseVal.value", "50");
-}
-
-function sample3() {
- shouldBeCloseEnough("rect.x.baseVal.value", "200", 1);
-}
-
-function executeTest() {
- const expectedValues = [
- // [animationId, time, elementId, sampleCallback]
- ["animation", 0.0, "rect", sample1],
- ["animation", 0.5, "rect", sample2],
- ["animation", 2.0, "rect", sample3],
- ["animation", 3.0, "rect", sample3]
- ];
-
- runAnimationTest(expectedValues);
-}
-
-// Begin test async
-window.setTimeout("triggerUpdate(150, 30)", 0);
-var successfullyParsed = true;
Modified: trunk/Source/WebCore/ChangeLog (93531 => 93532)
--- trunk/Source/WebCore/ChangeLog 2011-08-22 20:05:51 UTC (rev 93531)
+++ trunk/Source/WebCore/ChangeLog 2011-08-22 20:23:58 UTC (rev 93532)
@@ -1,3 +1,14 @@
+2011-08-22 Peter Kasting <[email protected]>
+
+ Unreviewed, rolling out r93517.
+ http://trac.webkit.org/changeset/93517
+ https://bugs.webkit.org/show_bug.cgi?id=63553
+
+ Breaks GTK Linux and Chromium Win
+
+ * svg/animation/SVGSMILElement.cpp:
+ (WebCore::SVGSMILElement::calculateAnimationPercentAndRepeat):
+
2011-08-22 Wyatt Carss <[email protected]>
FrameSelection::setNonDirectionalSelectionIfNeeded should not have a FrameSelection passed to it
Modified: trunk/Source/WebCore/svg/animation/SVGSMILElement.cpp (93531 => 93532)
--- trunk/Source/WebCore/svg/animation/SVGSMILElement.cpp 2011-08-22 20:05:51 UTC (rev 93531)
+++ trunk/Source/WebCore/svg/animation/SVGSMILElement.cpp 2011-08-22 20:23:58 UTC (rev 93532)
@@ -856,11 +856,6 @@
repeat = static_cast<unsigned>(repeatingDuration.value() / simpleDuration.value());
if (fmod(repeatingDuration.value(), !simpleDuration.value()))
repeat--;
-
- SMILTime simpleEndTime = fmod(m_intervalEnd.value() - m_intervalBegin.value(), simpleDuration.value());
- if (simpleEndTime.value())
- return narrowPrecisionToFloat(simpleEndTime.value() / simpleDuration.value());
-
return 1.f;
}
repeat = static_cast<unsigned>(activeTime.value() / simpleDuration.value());