[Webkit-unassigned] [Bug 104496] New: SVG animations do not support dynamic condition targets

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 9 14:39:18 PST 2012


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

           Summary: SVG animations do not support dynamic condition
                    targets
           Product: WebKit
           Version: 420+
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: pdr at google.com
                CC: zimmermann at kde.org
        Depends on: 103811


Created an attachment (id=178440)
 --> (https://bugs.webkit.org/attachment.cgi?id=178440&action=review)
Testcase

Consider this example:

<rect id="rectRed" width="100" height="100" x="0" y="0" fill="red"/>
<rect id="rectGreen" width="100" height="100" x="100" y="0" fill="green"/>
<set id="set" attributeName="x" to="0" xlink:href="#rectRed" begin="click"/>

<script>
var animation = document.getElementById('set');
animation.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', '#rectGreen');
</script>


When we move the animation target from the red rect to the green rect, the click animation condition should move too but it does not. This currently works in Firefox and Opera.

A related issue is detecting dynamic id changes such as if "blueRect.click" was used as the begin condition and blueRect's id was changed. One way to fix these issues would be to add condition targets to our target tracking infrastructure in SVGDocumentExtensions.

-- 
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