[Webkit-unassigned] [Bug 28673] New: Modifying <text rotate=""> doesn't clear the corresponding SVGAnimatedNumberList

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 23 17:12:56 PDT 2009


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

           Summary: Modifying <text rotate=""> doesn't clear the
                    corresponding SVGAnimatedNumberList
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cam at mcc.id.au


When script modifies the rotate="" attribute on a <text> (or <tspan>, etc.)
element, the baseVal of the SVGAnimatedNumberList that corresponds to the
attribute is not cleared before the attribute is re-parsed.  E.g.:

<text id="t" rotate="10 20 30"/>
<script>
t = document.getElementById('t');
l = t.rotate.baseVal;
t.setAttribute('rotate', '40 50');
assert(l.numberOfItems == 2);  // should be 2 but it's 5
</script>

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