Bug 32935 - SVG Clipping doesn't respect objectBoundingBox of object
Summary: SVG Clipping doesn't respect objectBoundingBox of object
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 32815
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-25 10:45 PST by Dirk Schulze
Modified: 2009-12-30 01:12 PST (History)
0 users

See Also:


Attachments
Clipping doesn't respect objectBoundingBox (392 bytes, image/svg+xml)
2009-12-25 10:45 PST, Dirk Schulze
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schulze 2009-12-25 10:45:01 PST
Created attachment 45492 [details]
Clipping doesn't respect objectBoundingBox

SVG Clipping doesn't use objectBoundingBox of object, even on activated clipPathUnits="objectBoundingBox".
SVGRenderBase::prepareToRenderSVGContent in SVGRenderSupprt.cpp gives repaintRectInLocalCoordinates to SVGResourceClipper instead of objectBoundingBox.
repaintRectInLocalCoordinates includes the stroke of the object. You can see the result of this bug on the example. You should see a green rect.
Comment 1 Dirk Schulze 2009-12-30 01:12:21 PST
Fixed with r52647.