svnno****@sourc*****
svnno****@sourc*****
2009年 3月 24日 (火) 23:42:53 JST
Revision: 1110 http://svn.sourceforge.jp/view?root=sie&view=rev&rev=1110 Author: dhrname Date: 2009-03-24 23:42:53 +0900 (Tue, 24 Mar 2009) Log Message: ----------- ie8の対策 Modified Paths: -------------- branches/04x/046/sie.js Modified: branches/04x/046/sie.js =================================================================== --- branches/04x/046/sie.js 2009-03-24 12:51:34 UTC (rev 1109) +++ branches/04x/046/sie.js 2009-03-24 14:42:53 UTC (rev 1110) @@ -100,11 +100,11 @@ document.namespaces.add("v","urn:schemas-microsoft-com:vml"); document.namespaces.add("o","urn:schemas-microsoft-com:office:office"); var st = document.createStyleSheet(); - st.addRule("v\\:*","behavior: url(#default#VML);display:inline-block;");//inline-blockはIEのバグ対策 - st.addRule("o\\:*","behavior: url(#default#VML);display:inline-block"); - st.addRule("dn\\:*","display:none"); - st.addRule("v\\:group", "position:relative;width:100%;height:100%;"); - st.addRule("v\\:shape", "width:100%;height:100%;"); + st.addRule("v\\:fill,v\\:stroke","behavior: url(#default#VML);display:inline-block;");//inline-blockはIEのバグ対策 + st.addRule("o\\:opacity2","behavior: url(#default#VML);display:inline-block"); + st.addRule("dn\\:defs","display:none"); + st.addRule("v\\:group", "behavior: url(#default#VML);display:inline-block;position:relative;width:100%;height:100%;"); + st.addRule("v\\:shape", "behavior: url(#default#VML);display:inline-block;width:100%;height:100%;"); } //windowに指定したイベントと関数を追加