[Webkit-unassigned] [Bug 53512] [CG] getBBox() on a SVGPathElement with curves incorrectly includes control points
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun May 22 06:25:33 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=53512
Dirk Schulze <krit at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|getBBox() on a |[CG] getBBox() on a
|SVGPathElement with curves |SVGPathElement with curves
|incorrectly includes |incorrectly includes
|control points |control points
CC| |krit at webkit.org
--- Comment #1 from Dirk Schulze <krit at webkit.org> 2011-05-22 06:25:33 PST ---
(In reply to comment #0)
> Created an attachment (id=80784)
--> (https://bugs.webkit.org/attachment.cgi?id=80784&action=review) [details]
> 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.
I doubt that this is a problem in WebKit. I guess CG doesn't get it right. Bounding boxes on paths are always calculated by the graphic engines. Adapting bug title.
--
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