Created attachment 232119 [details] Example SVG SVG getBBox() for a group element does not return the correct bounding box if its child element is rotated. The attached example displays the bounding box as a blue rectangle for a rotated ellipse. There is a large gap between the bbox and the ellipse. The result should be a blue rectangle tightly around the ellipse without any gaps. Firefox 29 displays the correct behaviour.
Created attachment 232120 [details] Screenshot of Safari 7 and Firefox 29 rendering
This is due to our rectangular box calculation optimization for SVGRect, SVGCircle and SVGEllipse .... rects with rounded corners are likely affected as well.
Chrome and Safari behave the same here. Firefox creates a tighter border.
<rdar://problem/97101259>