[Webkit-unassigned] [Bug 112257] New: Consecutive animateTransform of an SVG shape does not work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 13 07:29:58 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=112257

           Summary: Consecutive animateTransform of an SVG shape does not
                    work
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.8
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: matej.dunik at gmail.com
                CC: zimmermann at kde.org


If I try to animate one object twice consecutively, it ignores the second one most of the time (It doesn't seem to be deterministic). 

In following example the rect should move periodically up and down. Works as expected in Firefox and Opera, not in Chrome, Safari. Tried also current nightly build 537.33+, didn't work either. In webkit it only goes downwards (anim1a) with a delay after each movement.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="400"  xml:space="preserve">
    <rect id="RectElement" x="10" y="10" width="30" height="30" fill="rgb(0,0,0)">
        <animateTransform id="anim1a"
                          attributeName="transform" attributeType="XML" type="translate"
                          begin="0s; anim1b.end" dur="1s"
                          from="0 0" to="0 200" 
                          fill="freeze" />
        <animateTransform id="anim1b"
                          attributeName="transform" attributeType="XML" type="translate"
                          begin="anim1a.end" dur="1s"
                          from="0 200" to="0 0" 
                          fill="freeze" />
    </rect>
</svg>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list