[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

commit-queue at webkit.org commit-queue at webkit.org
Wed Dec 22 12:41:45 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 4775776e9afe41d376da777a9e397f4804cb004f
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Aug 27 09:44:16 2010 +0000

    2010-08-27  Sheriff Bot  <webkit.review.bot at gmail.com>
    
            Unreviewed, rolling out r66188.
            http://trac.webkit.org/changeset/66188
            https://bugs.webkit.org/show_bug.cgi?id=44756
    
            "Graphic libraries handle segement length differently. Fixing
            one platform might break another one. Rolling out this patch
            and think about another solution to get getPointAtLength"
            (Requested by krit on #webkit).
    
            * svg/dom/path-pointAtLength-expected.txt: Removed.
            * svg/dom/path-pointAtLength.html: Removed.
            * svg/dom/script-tests/path-pointAtLength.js: Removed.
    2010-08-27  Sheriff Bot  <webkit.review.bot at gmail.com>
    
            Unreviewed, rolling out r66188.
            http://trac.webkit.org/changeset/66188
            https://bugs.webkit.org/show_bug.cgi?id=44756
    
            "Graphic libraries handle segement length differently. Fixing
            one platform might break another one. Rolling out this patch
            and think about another solution to get getPointAtLength"
            (Requested by krit on #webkit).
    
            * platform/graphics/PathTraversalState.cpp:
            (WebCore::PathTraversalState::closeSubpath):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66197 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 7d2df07..6f6e91b 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,18 @@
+2010-08-27  Sheriff Bot  <webkit.review.bot at gmail.com>
+
+        Unreviewed, rolling out r66188.
+        http://trac.webkit.org/changeset/66188
+        https://bugs.webkit.org/show_bug.cgi?id=44756
+
+        "Graphic libraries handle segement length differently. Fixing
+        one platform might break another one. Rolling out this patch
+        and think about another solution to get getPointAtLength"
+        (Requested by krit on #webkit).
+
+        * svg/dom/path-pointAtLength-expected.txt: Removed.
+        * svg/dom/path-pointAtLength.html: Removed.
+        * svg/dom/script-tests/path-pointAtLength.js: Removed.
+
 2010-08-27  Yuzo Fujishima  <yuzo at google.com>
 
         Unreviewed Chromium test expectation change.
diff --git a/LayoutTests/svg/dom/path-pointAtLength-expected.txt b/LayoutTests/svg/dom/path-pointAtLength-expected.txt
deleted file mode 100644
index 7ad7f83..0000000
--- a/LayoutTests/svg/dom/path-pointAtLength-expected.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-This tests getPointAtLength of SVG path.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS pointAtLengthOfPath('M0,20 L400,20 L640,20') is '(640, 20)'
-PASS pointAtLengthOfPath('M0,20 L400,20 L640,20 z') is '(580, 19.99991226196289)'
-PASS pointAtLengthOfPath('M0,20 L400,20 z M 320,20 L640,20') is '(100, 19.999984741210938)'
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
diff --git a/LayoutTests/svg/dom/path-pointAtLength.html b/LayoutTests/svg/dom/path-pointAtLength.html
deleted file mode 100644
index c319404..0000000
--- a/LayoutTests/svg/dom/path-pointAtLength.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
-<html>
-<head>
-<link rel="stylesheet" href="../../fast/js/resources/js-test-style.css">
-<script src="../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script src="script-tests/path-pointAtLength.js"></script>
-<script src="../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>
diff --git a/LayoutTests/svg/dom/script-tests/path-pointAtLength.js b/LayoutTests/svg/dom/script-tests/path-pointAtLength.js
deleted file mode 100644
index fd3247e..0000000
--- a/LayoutTests/svg/dom/script-tests/path-pointAtLength.js
+++ /dev/null
@@ -1,16 +0,0 @@
-description("This tests getPointAtLength of SVG path.");
-
-var pathElement = document.createElementNS("http://www.w3.org/2000/svg", "path");
-
-function pointAtLengthOfPath(string) {
-    pathElement.setAttributeNS(null, "d", string);
-
-    var point = pathElement.getPointAtLength(700);
-    return "(" + point.x + ", " + point.y + ")";
-}
-
-shouldBe("pointAtLengthOfPath('M0,20 L400,20 L640,20')", "'(640, 20)'");
-shouldBe("pointAtLengthOfPath('M0,20 L400,20 L640,20 z')", "'(580, 19.99991226196289)'");
-shouldBe("pointAtLengthOfPath('M0,20 L400,20 z M 320,20 L640,20')", "'(100, 19.999984741210938)'");
-
-var successfullyParsed = true;
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index fdcea42..5021df1 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,17 @@
+2010-08-27  Sheriff Bot  <webkit.review.bot at gmail.com>
+
+        Unreviewed, rolling out r66188.
+        http://trac.webkit.org/changeset/66188
+        https://bugs.webkit.org/show_bug.cgi?id=44756
+
+        "Graphic libraries handle segement length differently. Fixing
+        one platform might break another one. Rolling out this patch
+        and think about another solution to get getPointAtLength"
+        (Requested by krit on #webkit).
+
+        * platform/graphics/PathTraversalState.cpp:
+        (WebCore::PathTraversalState::closeSubpath):
+
 2010-08-27  Simon Fraser  <simon.fraser at apple.com>
 
         Reviewed by Nikolas Zimmermann.
diff --git a/WebCore/platform/graphics/PathTraversalState.cpp b/WebCore/platform/graphics/PathTraversalState.cpp
index ecdcb1b..d202649 100644
--- a/WebCore/platform/graphics/PathTraversalState.cpp
+++ b/WebCore/platform/graphics/PathTraversalState.cpp
@@ -160,7 +160,7 @@ PathTraversalState::PathTraversalState(PathTraversalAction action)
 float PathTraversalState::closeSubpath()
 {
     float distance = distanceLine(m_current, m_start);
-    m_current = m_control1 = m_control2 = m_start;
+    m_start = m_control1 = m_control2 = m_current;
     return distance;
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list