为什么同样在页面实现的按钮拖拽,在opera、火狐浏览器和ie浏览器生成的标签及内容不一样?

dxliu 发布于 2014/12/09 14:56
阅读 128
收藏 0
opera生成标签:
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="2127" height="5000px" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"><desc style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);">Created with Rapha?l</desc><defs style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></defs>........<rect x="626.5" y="312.5" width="5" height="5" r="0" rx="0" ry="0" fill="#000000" stroke="#ffffff" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0); cursor: ne-resize; display: none;"></rect></svg>
ie生成标签:
<DIV style="CLIP: rect(0px 2127px 1005px 0px); POSITION: relative; WIDTH: 2127px; DISPLAY: inline-block; HEIGHT: 1005px; OVERFLOW: hidden; TOP: 0px; LEFT: 0px"><rvml:shape style="WIDTH: 1000px; HEIGHT: 1000px; CURSOR: ne-resize" class=rvml jQuery15104848570039120223="30" coordsize = "1000,1000" filled = "t" fillcolor = "black" stroked = "t" strokecolor = "white" path = " m6455,3365 l6505,3365,6505,3415,6455,3415 xe"><rvml:fill class=rvml type = "solid">........</rvml:fill><rvml:stroke class=rvml opacity = "1" miterlimit = "8"></rvml:stroke></rvml:shape></rvml:group></DIV>
完全不一样的标签,我要的svg标签,但公司要求只能用ie,这个东西是动态生成的,根据用户的按钮拖拽生成svg文件,进而生成图片,哪位大神给指点下,有转化的插件吗?就把ie生成的转换为svg标签,或者说下自己的思路,万分感谢
加载中
返回顶部
顶部