开发者

Allow SVG graphics to overflow outside the containing svg element

开发者 https://www.devze.com 2022-12-08 20:01 出处:网络
I\'m using the Raphaël—JavaScript Library to create some pie chart graphics, but I want to set the overflow of the containing SVG element to visible, to allow the graphics inside to display outside

I'm using the Raphaël—JavaScript Library to create some pie chart graphics, but I want to set the overflow of the containing SVG element to visible, to allow the graphics inside to display outside of their开发者_如何学Go container. The way you would with normal dom elements (overflow: visible;) does not seem to work for svg containers. Does anyone have any experience of this or know how to remedy it?

Cheers


It's a bug in Firefox.

WebKit implements overflow: visible correctly for SVG elements, as does IE for VML elements.

0

精彩评论

暂无评论...
验证码 换一张
取 消