[Webkit-unassigned] [Bug 72036] New: Setting SVGResize event on outermost svg tag via script fails to work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 10 11:08:42 PST 2011


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

           Summary: Setting SVGResize event on outermost svg tag via
                    script fails to work
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://code.google.com/p/chromium/issues/detail?id=693
                    75
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jgw at chromium.org
                CC: zimmermann at kde.org


(From the linked chromium bug)
- Open attached file.  One will see a javascript alert saying callback was added.
- Resize browser window. One should see a javascript alert saying resize event was detected.  However, Chrome does not do that.

There's a bit of a hack in SVGSVGElement::parseMappedAttribute() that grabs 'onresize', et al, attributes at parse time and punts them to the window object, which appears to be correct according to the spec (http://www.w3.org/TR/SVG/interact.html). But no such hack exists in SVGSVGElement::addEventListener() for SVGResize, et al, so svg.addEventListener() silently fails.

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