Bug 32935 - SVG Clipping doesn't respect objectBoundingBox of object
Summary: SVG Clipping doesn't respect objectBoundingBox of object
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
Depends on: 32815
  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:

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.