Why doesn't this SVG graphic scale in IE9 and 10 (preview)?

后端 未结 4 1667
-上瘾入骨i
-上瘾入骨i 2021-02-04 16:56

According to IE website SVG is supported. And according to this answer too What are SVG (Scalable Vector Graphics) supported browsers?

http://jsfiddle.net/jitendravyas/2

4条回答
  •  不知归路
    2021-02-04 17:07

    IE seems to be mishandling the missing preserveAspectRatio attribute. You can get it to scale in IE by adding preserveAspectRatio="xMinYMin slice" as seen here: http://jsfiddle.net/2UWNe/4/show

    However, what IE is showing is not the correct behavior, and thus this change causes other browsers to behave differently than IE. (Microsoft, however, believes that they support preserveAspectRatio.)

    I haven't looked deeply at your units or content bounding boxes. What effect are you really trying to achieve?

提交回复
热议问题