[Webkit-unassigned] [Bug 53512] New: getBBox() on a SVGPathElement with curves incorrectly includes control points

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 1 10:43:38 PST 2011


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

           Summary: getBBox() on a SVGPathElement with curves incorrectly
                    includes control points
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: adeveria at gmail.com
                CC: zimmermann at kde.org


Created an attachment (id=80784)
 --> (https://bugs.webkit.org/attachment.cgi?id=80784&action=review)
Shows a path with a rectangle generated on top of it with the calculated BBox values

Running getBBox() on paths with cubic bezier curves results in a box that is too big. It appears the curve's control points are included, which is of course incorrect. Non-Webkit browsers get this right.

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